## Only link with things we care about
ifeq ($(QUADTREE),enabled)
- OBJ := $(OBJ) quadtree.o
+ OBJ := $(OBJ)
else
DEF := $(DEF) -DQUADTREE_DISABLED
endif
CFLAGS := $(CFLAGS) -I../contrib/iRRAM/include
endif
+
+
+ifeq ($(REALTYPE),9)
+ LIB := $(LIB) -lgmp
+endif
+
LINKOBJ = $(OBJPATHS)
# To change that you can run as `make DEFS="REALTYPE=X" tests/<target>` where X is your chosen type
# But remember to make clean first.
tests/% : tests/%.cpp ../obj/tests/%.o $(LINKOBJ)
- $(CXX) $(CFLAGS) -o $@
.test $(LINKOBJ) ../obj/
[email protected] $(LIB) $(TESTRPATH)
-include $(DEPS)