summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-03-29 18:30:04 +0200
committerRoland Reichwein <mail@reichwein.it>2020-03-29 18:30:04 +0200
commit6154309f0cd3ed5071996951465808f2503e2eb1 (patch)
treeb1666eea410e859f814ae47ca47b8b2d7d333c50 /Makefile
parentb0cac4997b5767526b29187fecf2a87aa1b0ebef (diff)
mcc produces first dummy executable
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
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