diff options
author | cathook <b01902109@csie.ntu.edu.tw> | 2014-10-18 04:18:27 +0800 |
---|---|---|
committer | cathook <b01902109@csie.ntu.edu.tw> | 2014-10-18 04:18:27 +0800 |
commit | fa817eee52694a15241c7d65c578f37c1b869dc9 (patch) | |
tree | d1e57674f7ef83f1c01de02ce0c6cf153dae39c3 /meowpp/Makefile | |
parent | 0f02ab1d29fc9a9da871711189047572b7724ad0 (diff) | |
download | meow-fa817eee52694a15241c7d65c578f37c1b869dc9.tar meow-fa817eee52694a15241c7d65c578f37c1b869dc9.tar.gz meow-fa817eee52694a15241c7d65c578f37c1b869dc9.tar.bz2 meow-fa817eee52694a15241c7d65c578f37c1b869dc9.tar.lz meow-fa817eee52694a15241c7d65c578f37c1b869dc9.tar.xz meow-fa817eee52694a15241c7d65c578f37c1b869dc9.tar.zst meow-fa817eee52694a15241c7d65c578f37c1b869dc9.zip |
Move the test code into the main folder
also remove the doc directory from the git filesystem
Diffstat (limited to 'meowpp/Makefile')
-rw-r--r-- | meowpp/Makefile | 12 |
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 {} \; |