From 33fef4a17290e7872293d8cc173bec826f24001c Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 3 May 2006 02:56:51 +0000 Subject: Added the new singleton class template. Very cool, now I need to switch all my singletons to using it. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b3d213d..45b2a03 100644 --- a/Makefile +++ b/Makefile @@ -26,20 +26,20 @@ clean: # This bit I cribbed from the docs, seems to work great though! %.d: %.cpp - g++ $(CXXFLAGS) -Isrc -M $(CPPFLAGS) $< | sed 's,\($(notdir $*)\)\.o[: ]*,$(dir $*)\1.o $@: ,g' > $@ echo "$(TXTDEP)$@" + g++ $(CXXFLAGS) -Isrc -M $(CPPFLAGS) $< | sed 's,\($(notdir $*)\)\.o[: ]*,$(dir $*)\1.o $@: ,g' > $@ %.o: %.cpp - g++ $(CXXFLAGS) -Isrc $(foreach dr,$(filter $(dir $@),$(foreach ddr,$(TDIRS),$(ddr)/)),-I$(dr)) -ggdb -c -o $@ $< echo "$(TXTCPP)$@" + g++ $(CXXFLAGS) -Isrc $(foreach dr,$(filter $(dir $@),$(foreach ddr,$(TDIRS),$(ddr)/)),-I$(dr)) -ggdb -c -o $@ $< $(LIB): $(OBJS) - ar cr $(LIB) $(OBJS) echo "$(TXTARC)$@" + ar cr $(LIB) $(OBJS) $(TESTS): $(ATOBJS) $(LIB) - g++ $(LDFLAGS) -ggdb $(filter %$@.o, $(TOBJS) ) $(patsubst %.cpp,%.o,$(wildcard $(filter %$@, $(TDIRS))/*.cpp)) -L. -lbu++ -o $@ echo "$(TXTLNK)$@" + g++ $(LDFLAGS) -ggdb $(filter %$@.o, $(TOBJS) ) $(patsubst %.cpp,%.o,$(wildcard $(filter %$@, $(TDIRS))/*.cpp)) -L. -lbu++ -o $@ tests: $(TESTS) -- cgit v1.2.3