t/gridsize.t t/center.t t/astar.t
PREFIX=/usr/local
-all: test libhexagon.a docs
+all: libhexagon.a docs testfiles
clean:
rm -f $(OBJS) libhexagon.a $(TESTS)
t/%.t: t/%.o t/tap.o $(OBJS)
$(CC) -I.. -I. -o $@ $+ $(LDFLAGS)
-test: $(TESTS)
+testfiles: $(TESTS)
+
+test: libhexagon.a $(TESTS)
@prove --exec '' 2>/dev/null
libhexagon.a: $(OBJS)