X-Git-Url: http://git.scottworley.com/slidingtile/blobdiff_plain/e86755d75f4040ae6619702a6501325ea81b03e1..d4aebc72dbc676b1b1ce7eeabedf3840e9c6aaf0:/Makefile diff --git a/Makefile b/Makefile index 333a641..450ffe8 100644 --- a/Makefile +++ b/Makefile @@ -17,10 +17,10 @@ TESTS=$(subst .cc,,$(TEST_SRCS)) all: $(MAIN) $(TESTS) test: $(TESTS) - for t in ./*_test; do if ! $$t; then exit 1; fi ;done + for t in $(TESTS); do if ./$$t; then :; else exit $$?; fi ;done clean: - rm -f *.o $(MAIN) $(TESTS) + rm -f *.o $(MAIN) $(TESTS) Makefile.bak $(MAIN): $(OBJS) $(CXX) $(CXXFLAGS) -o $@ $^ $(LFLAGS) $(LIBS)