makefiles...
Three questions please:
1) Can I define all my paths used in, for example, g++ in a single text file and then use that text file with my makefiles? For example: textfile: PATHS := /foldera/folderb makefile: g++ ${PATHS} etc... 2) Can a makefile invoke another makefile and how? 3) I can't seem to use bash shell scripts in my makefile. For example (a simple not very useful example): makefile: echo "hello" g++ ${PATHS} etc... This will always give the error message "*** missing separator. Stop." |
Hi -
Quote:
http://www.gnu.org/software/make/man...e.html#Include Quote:
Quote:
And don't forget to include the <tab> before every action ;-) Here are a couple of links: http://www.gnu.org/software/make/man...ode/index.html http://linuxgazette.net/issue83/heriyanto.html And remember: Quote:
|
Thanks.
|
All times are GMT -5. The time now is 04:36 PM. |