OBJS= hexagon.o astar.o
SRC=$(OBJS:.o=.c)
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 t/astarlg.t
+ t/gridsize.t t/center.t t/astar.t
PREFIX=/usr/local
all: libhexagon.a docs testfiles
clean:
rm -f $(OBJS) libhexagon.a $(TESTS)
-t/%.t: t/%.o t/tap.o $(OBJS)
+t/%.t: t/%.o t/ctap.o $(OBJS)
$(CC) -I.. -I. -o $@ $+ $(LDFLAGS)
testfiles: $(TESTS)
test: libhexagon.a $(TESTS)
- @prove --exec '' 2>/dev/null
+ @prove --exec $(TESTS) '' 2>/dev/null
libhexagon.a: $(OBJS)
ar r $@ $+