From 91498f0ee827aaa7136bd6e41485edc0a3452d14 Mon Sep 17 00:00:00 2001 From: yamiYori <496071360@qq.com> Date: Sun, 14 May 2017 23:28:27 +0800 Subject: [PATCH] add MAKEFILE --- .gitignore | 1 + MAKEFILE | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 MAKEFILE diff --git a/.gitignore b/.gitignore index 1bf71c5..1425b8e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ *.cbp *.depend *.layout +*.o diff --git a/MAKEFILE b/MAKEFILE new file mode 100644 index 0000000..eb3aba8 --- /dev/null +++ b/MAKEFILE @@ -0,0 +1,9 @@ +main:main.o ConsoleMenu.o + cc -o main main.o ConsoleMenu.o +main.o: main.cpp ConsoleMenu.o + cc -c main.cpp +ConsoleMenu.o:ConsoleMenu.cpp ConsoleMenu.h + cc -c ConsoleMenu.cpp +clean: + rm main main.o ConsoleMenu.o +