help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

about $< variable


From: rishi nair
Subject: about $< variable
Date: Mon, 26 May 2003 21:57:30 +0530

hi all
in my makefile i write add an implicit rule like this

$(BUILD_DIR)/%.o:$(SRC_DIR)/$(patsubst %.obj,%.cxx,$(@F))
 $(CXX) $(CXXFLAGS) -o$@ $<

make generates the command as
cc cppflags -o <outputfile.o> srcdir/
cc cppflags -o <outputfile.o> srcdir/outputfile.cxx is expected
where am i going wrong.
my build env is cygwin/bash/gnumake
rishi





reply via email to

[Prev in Thread] Current Thread [Next in Thread]