X-Git-Url: http://git.scottworley.com/slidingtile/blobdiff_plain/e86755d75f4040ae6619702a6501325ea81b03e1..59e5eb6e9b012d90c76bfc02918c270e8d26ab08:/Makefile diff --git a/Makefile b/Makefile index 333a641..5994d06 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 exit 1; fi ;done clean: - rm -f *.o $(MAIN) $(TESTS) + rm -f *.o $(MAIN) $(TESTS) Makefile.bak $(MAIN): $(OBJS) $(CXX) $(CXXFLAGS) -o $@ $^ $(LFLAGS) $(LIBS)