]> pd.if.org Git - hexagon/blobdiff - Makefile
add polar coordinate calculation
[hexagon] / Makefile
index 0ae921c540ddc748e989189455ec4ea0954ee5d6..3856ab77211cc95f6b2ef6bc7a586459ce019568 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ CFLAGS= -Wall -Wno-parentheses $(ARCH) -I. -I..
 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/gridsize.t t/center.t t/astar.t t/polar.t
 PREFIX=/usr/local
 
 all:   libhexagon.a docs testfiles
@@ -21,7 +21,7 @@ t/%.t:  t/%.o t/ctap.o $(OBJS)
 testfiles:     $(TESTS)
 
 test:   libhexagon.a $(TESTS)
-       @prove --exec $(TESTS) '' 2>/dev/null
+       @prove --exec '' $(TESTS) 2>/dev/null
 
 libhexagon.a:  $(OBJS)
        ar r $@ $+