aboutsummaryrefslogtreecommitdiffstats
path: root/meowpp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'meowpp/Makefile')
-rw-r--r--meowpp/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/meowpp/Makefile b/meowpp/Makefile
new file mode 100644
index 0000000..b087830
--- /dev/null
+++ b/meowpp/Makefile
@@ -0,0 +1,12 @@
+
+CXX ?= g++
+CXXFLAGS ?= -g -Wall -Werror -std=c++11 -pedantic
+
+.PHONY: meowpp_test meowpp_test_clean
+
+meowpp_test:
+ meowpp/test.py -c '$(CXX) $(CXXFLAGS)' -p '$(CURRENT_DIR)' -P '$(MEOWPP_DIR)'
+
+meowpp_test_clean:
+ find '$(MEOWPP_DIR)' -regex '^.*\.bin$$' -exec rm {} \;
+ find '$(MEOWPP_DIR)' -regex '^.*\.log$$' -exec rm {} \;