diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -57,9 +57,8 @@ PROGSRC=\ asm/intel64/jmp.cpp \ asm/intel64/mov.cpp \ asm/intel64/mul.cpp \ - asm/intel64/nop.cpp \ - asm/intel64/ret.cpp \ asm/intel64/sub.cpp \ + asm/intel64/trivials.cpp \ asm/intel64/xor.cpp \ asm/intel64/codes.cpp \ asm/intel64/encode.cpp \ @@ -99,6 +98,11 @@ SRC=$(PROGSRC) mcc.cpp all: test-$(PROJECTNAME) mcc ./test-$(PROJECTNAME) --gtest_filter='CppTest.compile' +systemtest: + #./mcc systemtest/mcc-execute.tests/test.cpp + ./mcc systemtest/mcc-execute.tests/test1.cpp + runtest --all --srcdir systemtest --tool mcc + # testsuite ---------------------------------------------- test-$(PROJECTNAME): $(TESTSRC:.cpp=.o) $(CXX) $(CXXFLAGS) $^ $(LIBS) -o $@ @@ -127,12 +131,14 @@ ADD_DEP=Makefile clean: -rm -f test-$(PROJECTNAME) mcc tempfile.txt -find . -name '*.o' -o -name '*.d' -o -name '*.gcno' -o -name '*.gcda' | xargs rm -f + -rm -f systemtest/mcc-execute.tests/test1 + -rm -f *.log *.sum zip: clean -rm -f ../$(PROJECTNAME).zip zip -r ../$(PROJECTNAME).zip * ls -l ../$(PROJECTNAME).zip -.PHONY: clean all zip dep +.PHONY: clean all zip dep systemtest -include $(wildcard $(SRC:.cpp=.d)) |