From 4d97bfb776c19fb9c817e7fa87e64fea0e2a37ff Mon Sep 17 00:00:00 2001 From: Nathan Wagner Date: Tue, 15 Nov 2011 22:23:46 -0500 Subject: [PATCH] Added make target to make test files. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e0789e5..071205b 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ TESTS= t/cantor.t t/distance.t t/adjacency.t t/range.t t/hexbin.t \ t/gridsize.t t/center.t t/astar.t PREFIX=/usr/local -all: libhexagon.a docs +all: libhexagon.a docs testfiles clean: rm -f $(OBJS) libhexagon.a $(TESTS) @@ -18,6 +18,8 @@ clean: t/%.t: t/%.o t/tap.o $(OBJS) $(CC) -I.. -I. -o $@ $+ $(LDFLAGS) +testfiles: $(TESTS) + test: libhexagon.a $(TESTS) @prove --exec '' 2>/dev/null -- 2.40.0