projects
/
gph-cmath
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
test/Makefile
@@ -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)