diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..12c9cb8 --- /dev/null +++ b/Makefile @@ -0,0 +1,23 @@ +CXXFLAGS = -g -Imeowpp + +README = README.asciidoc + +TEST = _test +TESTS = meowpp + + + +all: $(TESTS) + +readme: + ./readme_generate.py $(README) + +$(TEST)/meowpp: $(TEST)/meowpp.cpp + g++ -o $@ $(CXXFLAGS) $^ + +$(TESTS): %: $(TEST)/% + $^ + +clean: + -rm -f $(foreach i,$(TESTS),$(TEST)/$i) + -rm -f $(README) |