From 3ba3fa59978177b7b8648cb9b7260392405fd9d5 Mon Sep 17 00:00:00 2001 From: Joseph Poirier Date: Sun, 14 Jun 2015 02:40:24 -0500 Subject: [PATCH] makefile enhancements --- Makefile | 6 +++--- tests/Makefile | 15 ++++++++++++--- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 19ffa0e..5129452 100644 --- a/Makefile +++ b/Makefile @@ -20,9 +20,9 @@ $(TARGET): $(OBJS) $(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LIBS) test: all - (cd tests; make test) - (cd tests; make csmith) - (cd tests; make jpoirier) + @(cd tests; make -s test) + @(cd tests; make -s csmith) + @(cd tests; make -s jpoirier) clean: rm -f $(TARGET) $(OBJS) *~ diff --git a/tests/Makefile b/tests/Makefile index bf038aa..4a94137 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -90,11 +90,20 @@ include jpoirier/Makefile all: test test: $(TESTS) - @echo "test passed" + @echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" + @echo "%%%%%%%%%%%% Tests Passed %%%%%%%%%%%%" + @echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" + @echo csmith: $(CSMITH_TESTS) - @echo "CSmith test passed" + @echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" + @echo "%%%%%%%%%%%% CSmith Tests Passed %%%%%%%%%%%%" + @echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" + @echo jpoirier: $(JPOIRIER_TESTS) - @echo "JPoirier test passed" + @echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" + @echo "%%%%%%%%%%%% JPoirier Tests Passed %%%%%%%%%%%%" + @echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" + @echo