new file: .gitattribute

modified:   MAKEFILE
	Inspired by KiritoTRw
This commit is contained in:
Ren XiaoYu 2017-05-15 22:22:09 +08:00
parent 74ed5436b2
commit a6b79d1263
2 changed files with 3 additions and 3 deletions

0
.gitattribute Normal file
View File

View File

@ -1,9 +1,9 @@
main:main.o ConsoleMenu.o
cc -o main main.o ConsoleMenu.o
$(CXX) -o main main.o ConsoleMenu.o
main.o: main.cpp ConsoleMenu.o
cc -c main.cpp
$(CXX) -c main.cpp
ConsoleMenu.o:ConsoleMenu.cpp ConsoleMenu.h
cc -c ConsoleMenu.cpp
$(CXX) -c ConsoleMenu.cpp
clean:
rm main main.o ConsoleMenu.o