X-Git-Url: https://pd.if.org/git/?p=hexagon;a=blobdiff_plain;f=Makefile;h=e0789e5ba9888d6286f8dec34dfd107911e8f0f1;hp=b551840c57c364db23feaabb92ad7beb55d5fe99;hb=31d02c77ec523a535baa29086f5ed7ff67f3002f;hpb=800280caf177d1a84d134f99b0b8835f19e74aa5 diff --git a/Makefile b/Makefile index b551840..e0789e5 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: test libhexagon.a docs +all: libhexagon.a docs clean: rm -f $(OBJS) libhexagon.a $(TESTS) @@ -18,7 +18,7 @@ clean: t/%.t: t/%.o t/tap.o $(OBJS) $(CC) -I.. -I. -o $@ $+ $(LDFLAGS) -test: $(TESTS) +test: libhexagon.a $(TESTS) @prove --exec '' 2>/dev/null libhexagon.a: $(OBJS)