Mercurial Hosting > traffic-intelligence
diff c/Makefile @ 8:59b7e3954178
renaming and added make clean
author | Nicolas Saunier <nico@confins.net> |
---|---|
date | Sat, 07 Nov 2009 23:33:51 -0500 |
parents | 6509f5b1d795 |
children | eb38637f338d |
line wrap: on
line diff
--- a/c/Makefile Thu Nov 05 17:17:20 2009 -0500 +++ b/c/Makefile Sat Nov 07 23:33:51 2009 -0500 @@ -16,7 +16,7 @@ endif ifeq ($(UNAME), Linux) - LINUX_BOOST_PREFIX = /usr/local + LINUX_BOOST_PREFIX = /usr/local CFLAGS += -DLINUX EXE_EXTENSION='' else # windows @@ -38,10 +38,17 @@ CXXFLAGS = $(INCLUDE) $(CFLAGS) +default: all builddir -default: main.o -# @echo "default" +all: test-pixels + +builddir: @createdirectory.sh $(BUILD_DIR) - $(CXX) $(CFLAGS) $(LIBS) $^ -o $(BUILD_DIR)/test-pixels $(LDFLAGS) -# $(CXX) $(CFLAGS) $(LIBS) $^ -o $(BUILD_DIR)/$@ $(LDFLAGS) \ No newline at end of file +test-pixels: test-pixels.o + $(CXX) $(CFLAGS) $(LIBS) $^ -o $(BUILD_DIR)/test-pixels $(LDFLAGS) +# $(CXX) $(CFLAGS) $(LIBS) $^ -o $(BUILD_DIR)/$@ $(LDFLAGS) + +clean: + rm -f *.gch */*.o *.o *.a $(BUILD_DIR)/* +# $(DISTFILE_OUTPUT)