c++.command-line - "invalid token" with SMAKE
- NoEmailAds execpc.com (Chris Giese) (8/8) May 03 2002 This happens when I try to name an object file "foo.o" instead
- Walter (3/8) May 03 2002 Unfortunately, SMAKE has too many smarts and defaults in it. Try MAKE.
- NoEmailAds execpc.com (Chris Giese) (10/19) May 03 2002 Does MAKE support recursive makes? I mean, can I call MAKE from
- Walter (5/15) May 04 2002 Yes. I do it routinely.
This happens when I try to name an object file "foo.o" instead of "foo.obj", or when I name an executable "foo.x" instead of "foo.exe" Can I get SMAKE to stop bugging me about my funny file names and just do what I want? -- geezer | http://www.execpc.com/~geezer execpc.com | http://www.execpc.com/~geezer/osd
May 03 2002
"Chris Giese" <NoEmailAds execpc.com> wrote in message news:3cd3482c.28674366 news.digitalmars.com...This happens when I try to name an object file "foo.o" instead of "foo.obj", or when I name an executable "foo.x" instead of "foo.exe" Can I get SMAKE to stop bugging me about my funny file names and just do what I want?Unfortunately, SMAKE has too many smarts and defaults in it. Try MAKE.
May 03 2002
"Walter" <walter digitalmars.com> wrote:"Chris Giese" <NoEmailAds execpc.com> wrote in message news:3cd3482c.28674366 news.digitalmars.com...Does MAKE support recursive makes? I mean, can I call MAKE from inside a makefile? This is what I'm doing: MAKEFILE=dmars.mak LIBC =lib\libc.lib $(LIBC): lib\$(MAKEFILE) cd lib make -f $(MAKEFILE) cd .. but it seems to go into some kind of loop.This happens when I try to name an object file "foo.o" instead of "foo.obj", or when I name an executable "foo.x" instead of "foo.exe" Can I get SMAKE to stop bugging me about my funny file names and just do what I want?Unfortunately, SMAKE has too many smarts and defaults in it. Try MAKE.
May 03 2002
"Chris Giese" <NoEmailAds execpc.com> wrote in message news:3cd3589c.32883055 news.digitalmars.com...Does MAKE support recursive makes? I mean, can I call MAKE from inside a makefile?Yes. I do it routinely.This is what I'm doing: MAKEFILE=dmars.mak LIBC =lib\libc.lib $(LIBC): lib\$(MAKEFILE) cd lib make -f $(MAKEFILE) cd .. but it seems to go into some kind of loop.The cd may not be working, so it may not pick up the makefile from the subdirectory.
May 04 2002