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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -