Permalink
Browse files

Fix util/Makefile targets

  • Loading branch information...
1 parent 63431f6 commit a8b1905878cde79849f78cb07a219402c2138220 @h5b committed Apr 14, 2012
Showing with 11 additions and 2 deletions.
  1. +11 −2 util/Makefile
  2. BIN util/util_testrunner
View
13 util/Makefile
@@ -4,11 +4,20 @@ CHECK_SUITE=util_testrunner
CHECK_SRCS=$(CHECK_SUITE).c \
util.c
+CLEANFILES=$(CHECK_SUITE)
+
check: $(CHECK_SUITE)
- @echo ">> running unit tests <<"
+ @echo ",---------------------."
+ @echo "| Running Unit Tests |"
+ @echo "'---------------------'"
./$(CHECK_SUITE);
+ @echo ""
$(CHECK_SUITE): $(CHECK_SRCS)
$(CHECK_CC) $(CHECK_SRCS) $(CHECK_LIBS) -o $@
-all: check
+clean:
+ rm -f $(CLEANFILES)
+
+all:
+ check
View
BIN util/util_testrunner
Binary file not shown.

0 comments on commit a8b1905

Please sign in to comment.