Mercurial > hg > aimc
diff branches/carfac_cpp/makefile @ 588:1668e8e09a71
(none)
author | Ulf.Hammarqvist@gmail.com |
---|---|
date | Thu, 11 Oct 2012 21:32:30 +0000 |
parents | d59c0d65624b |
children | 186972c88472 |
line wrap: on
line diff
--- a/branches/carfac_cpp/makefile Thu Oct 11 21:28:34 2012 +0000 +++ b/branches/carfac_cpp/makefile Thu Oct 11 21:32:30 2012 +0000 @@ -32,6 +32,7 @@ GTEST_SRCS_ = $(GTEST_DIR)/src/*.cc $(GTEST_DIR)/src/*.h $(GTEST_HEADERS) all : libcarfac unittest + make cleanup libcarfac : $(SRC_DIR)/CARFAC.o $(SRC_OBJ) $(CXX) -shared $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@$(LIB_EXTENSION) -fPIC @@ -46,8 +47,11 @@ CAR_unittest : $(SRC_OBJ) #$(SRC_DIR)/unit_conversion.o Ear_unittest : $(SRC_OBJ) -clean : - rm -f *.o *.a src/*.o unittest/*.o *_unittest* *.dll *.exe +cleanup : + rm -f *.o *.a src/*.o unittest/*.o + +clean : cleanup + rm -f *.dll *.exe # pattern magic $(SRC_DIR)/%.o : %.cpp $(SRC_HEADERS) #normal source