added test, comparing operation results using gph-math as reference
[gph-cmath] / test / Makefile
diff --git a/test/Makefile b/test/Makefile
new file mode 100644 (file)
index 0000000..c23e3f1
--- /dev/null
@@ -0,0 +1,12 @@
+obj = test.o
+bin = test
+
+CXXFLAGS = -pedantic -Wall -g -I../src
+LDFLAGS = -lgmath -lm
+
+$(bin): $(obj)
+       $(CXX) -o $@ $(obj) $(LDFLAGS)
+
+.PHONY: clean
+clean:
+       rm -f $(obj) $(bin)