]> pd.if.org Git - hexagon/commitdiff
Added make target to make test files.
authorNathan Wagner <nw@hydaspes.if.org>
Wed, 16 Nov 2011 03:23:46 +0000 (22:23 -0500)
committerNathan Wagner <nw@hydaspes.if.org>
Wed, 16 Nov 2011 03:23:46 +0000 (22:23 -0500)
Makefile

index e0789e5ba9888d6286f8dec34dfd107911e8f0f1..071205befb3708b17a04925d59d0696ae98d2cf3 100644 (file)
--- 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