makefile - How to address the error has both : and :: entries while using gnu make -


i trying port new module project. module has own make file. have no background or experience make build system, decided use following command:

make -f makefile -f ../newmodule/tbt/makefile 

but following errors:

../newmodule/tbt/makefile:14: make/macros.mk: no such file or directory ../newmodule/tbt/makefile:66: *** target file `all' has both : , :: entries. stop.

please correct me if wrong; understanding first error because issued make main project, , need somehow configure directory of ../newmodule/tbt/make find macros.mk. able suggest effective way of addressing issue? best way include contents of ../newmodule/tbt/make folder?

my 2nd error seems make complains about, having : , :: in 2 make files target "all". can not follow 2nd make file closely, there not lines have target. thinking of changing my_all, , configure new variable default target of new module. not sure if terminology correct. "all" called default target make right? have reviewed of make file document, 5 am, , not recall things.

try running 2 separate make -f mymakefile commands, 1 each module directory relative paths work out have observed current directory when executing make may part of problem.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -