
18 May
2007
18 May
'07
5:01 p.m.
Dean Michael Berris wrote:
Makefile:
CC=g++ CFLAGS=-Wall
%.o: %.cpp $(CC) $(CFLAGS) -c $^
main: main.o some_other_file.o $(CC) $(CFLAGS) -o $< $^
Jamfile:
exe main : main.cpp some_other_file.cpp ;
I may be misunderstanding how bjam works, but I don't think it knows by itself what to do with that line. It may, at most, include default commands (similarly to what GNU make provides) to make this work. So, I doubt this is a meaningful comparison. Regards, Stefan -- ...ich hab' noch einen Koffer in Berlin...