Revision 885 trunk/src/nh99/GNUmakefile

GNUmakefile (revision 885)
24 24
	if [ ! -f $@ ]; then touch $@; fi
25 25

  
26 26
$(PREFIX_OBJ)banner.obj: banner.cpp
27
	$(CXX) $(CXXFLAGS) -DADMB_VERSION=$(shell cat ../../VERSION) -DADMB_REVISION=$(shell test -e ../../REVISION && cat ../../REVISION) -o $@ $^
27
	$(CXX) -c $(CXXFLAGS) -DADMB_VERSION=$(shell cat ../../VERSION) -DADMB_REVISION=$(shell test -e ../../REVISION && cat ../../REVISION) -o $@ $^
28 28

  
29 29
$(PREFIX_OBJ)model7.obj: model7.cpp
30 30
ifdef ADMB_CONFIGURE
31
	$(CXX) -DADMB_CONFIGURE="${ADMB_CONFIGURE}" $(CXXFLAGS) -o $@ $^
31
	$(CXX) -c -DADMB_CONFIGURE="${ADMB_CONFIGURE}" $(CXXFLAGS) -o $@ $^
32 32
else
33
	$(CXX) $(CXXFLAGS) -o $@ $^
33
	$(CXX) -c $(CXXFLAGS) -o $@ $^
34 34
endif
35 35

  
36 36
$(PREFIX_OBJ)%.obj: %.cpp
37
	$(CXX) $(CXXFLAGS) -o $@ $<
37
	$(CXX) -c $(CXXFLAGS) -o $@ $<

Also available in: Unified diff