This commit is contained in:
2014-10-02 17:52:56 +02:00
commit 8c1b406259
23 changed files with 525 additions and 0 deletions

17
tests/Makefile Normal file
View File

@@ -0,0 +1,17 @@
include ../Makefile.const
LIB_DIR = ..
ALL_TESTS=01 02 03
CXXFLAGS += -I$(LIB_DIR)
all:| lib $(ALL_TESTS);
test: all
@for i in $(ALL_TESTS); do echo -n ./$$i; echo -n " - "; ./$$i; echo ""; done
%: %.cpp $(LIB_DIR)/$(LIBNAME).a
$(CXX) $(CXXFLAGS) -o $@ $< $ $(LIB_DIR)/$(LIBNAME).a -lm
lib:
make -C ../