From 6154309f0cd3ed5071996951465808f2503e2eb1 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sun, 29 Mar 2020 18:30:04 +0200 Subject: mcc produces first dummy executable --- Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e338d84..ec4db3c 100644 --- a/Makefile +++ b/Makefile @@ -46,21 +46,22 @@ PROGSRC=\ bnf.cpp \ cpp.cpp \ cppbnf.cpp \ + debug.cpp \ + elf.cpp \ + file.cpp \ grammer.cpp \ lexer.cpp \ minicc.cpp \ - elf.cpp \ - file.cpp \ TESTSRC=\ test-cpp.cpp \ test-cppbnf.cpp \ + test-elf.cpp \ test-grammer.cpp \ test-lexer.cpp \ test-minicc.cpp \ - test-elf.cpp \ - googletest/src/gtest-all.cpp \ googlemock/src/gmock-all.cpp \ + googletest/src/gtest-all.cpp \ $(PROGSRC) SRC=$(PROGSRC) mcc.cpp @@ -92,7 +93,7 @@ ADD_DEP=Makefile # misc --------------------------------------------------- clean: - -rm -f test-$(PROJECTNAME) + -rm -f test-$(PROJECTNAME) mcc tempfile.txt -find . -name '*.o' -o -name '*.d' -o -name '*.gcno' -o -name '*.gcda' | xargs rm -f zip: clean -- cgit v1.2.3