aboutsummaryrefslogblamecommitdiffstats
path: root/meowpp/Makefile
blob: 04ccf22941439b6a6036b177dbb93a150e0b4a8d (plain) (tree)
1
2
3
4
5
6
7
8
9
               






                                                 
                                                                                           



                                                               
MEOWPP_DIR ?= .

CXX ?= g++
CXXFLAGS ?= -g -Wall -Werror -std=c++11 -pedantic

.PHONY: meowpp_test meowpp_test_clean

meowpp_test:
    $(MEOWPP_DIR)/test.py -c '$(CXX) $(CXXFLAGS)' -p '$(MEOWPP_DIR)' -P '$(MEOWPP_DIR)'

meowpp_test_clean:
    find '$(MEOWPP_DIR)' -regex '^.*\.bin$$' -exec rm {} \;
    find '$(MEOWPP_DIR)' -regex '^.*\.log$$' -exec rm {} \;