I no longer get the error I mentioned in my last email.
Must be something I did wrong.
Maybe, the only thing is whether there is a better way
to write the rule to create .o and executables in another
directory than what I've done.
Thanks,
Suhas
___
Bug-
I like the idea of using implicit rules
to do all the work. With that objective, is there an elegant
way to do than doing it as follow:
bld_dir = ../obj
$(bld_dir)/%.o: %.cpp
$(COMPILE.cpp)
$(OUTPUT_OPTION) $<
The above rule above creates all the object files in ../obj
directory.
However
At 09:27 PM 11/17/2003 -0500, Paul D. Smith wrote:
Please check the GNU make manual for information on make syntax.
In particular, every shell command line in a make rule must begin with a
TAB character (not spaces, but a TAB).
Ahhh, didn't know about this rule for the shell command. Others worked
Hi-
I'm getting a Makefile error which says missing separator
on line 5. I'm at my wit's end to figure why I'm getting this
error. The Makefile is attached. I'm running tcsh as my shell.
The makefile is attached.
Thanks,
Suhas
junk
Description: Binary data
__