summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
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