To run Makefile.tpl in OSX

Léo Léopold Hertz 준영

I have the file here which syntax seems to be near normal make-file with parameter install.

I run unsuccessfully

make install

I get

make: *** No rule to make target `install'.  Stop.

I get the same errors also with the command gnumake in OSX.

How can you run the Makefile.tpl in OSX?

I get this to Jeremy's command

wave$ sudo make -f Makefile.tpl install
mkdir -p /help/wave;  /help/wave
/bin/sh: /help/wave: is a directory
make: *** [/help/wave] Error 126

so not working for some reason.

Jeremy W. Sherman

Try make -f Makefile.tpl install.

Make defaults to using Makefile and makefile, and won't realize that Makefile.tpl is the file you want it to take rules from unless you tell it with the -f option.

In general, though, a *.tpl file is going to be a template. I'd expect some sort of configure step to expand the template for your specific system and generate a Makefile (no .tpl suffix) as a result.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related