citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit 500c4108afff5a39294e199f5c029c9c3b29a18e
parent 34d731fa7f500c65657fe5d9747f1ab04b6afbb6
Author: kyle <kyle@getaddrinfo.net>
Date:   Sun,  1 Nov 2015 15:55:00 -0700

tests: add Makefile.test with test and clean targets

Diffstat:
Atests/Makefile.test | 5+++++
Mtests/fibonacci/Makefile | 6+-----
2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/tests/Makefile.test b/tests/Makefile.test @@ -0,0 +1,5 @@ +test: + sh test.sh + +clean: + rm -f $(OBJS) $(BIN) *.{backup,inst} diff --git a/tests/fibonacci/Makefile b/tests/fibonacci/Makefile @@ -5,11 +5,7 @@ OBJS = $(SRCS:c=o) $(BIN): $(OBJS) $(CC) -o $(BIN) $(OBJS) $(LDLIBS) -test: - sh test.sh - diff: diff -u fib.c.inst fib.c.inst_good -clean: - rm -f $(OBJS) $(BIN) *.{backup,inst} +.include "../Makefile.test"