add MAKEFILE

This commit is contained in:
yamiYori 2017-05-14 23:28:27 +08:00
parent e1f71c3d46
commit 91498f0ee8
2 changed files with 10 additions and 0 deletions

1
.gitignore vendored
View File

@ -3,4 +3,5 @@
*.cbp
*.depend
*.layout
*.o

9
MAKEFILE Normal file
View File

@ -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