diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -5,11 +5,14 @@ obj = obj/ all: if [[ ! -d obj ]]; then mkdir obj; fi - g++ $(debug) -c $(libs)file.cpp -o $(obj)/file.o - g++ $(debug) -c $(libs)config.cpp -o $(obj)/config.o - g++ $(debug) -c $(libs)note.cpp -o $(obj)/note.o - g++ $(debug) -c $(libs)note_list.cpp -o $(obj)/note_list.o - g++ $(debug) src/main.cpp $(obj)/*.o -o $(out) + g++ $(debug) -c $(libs)path.cpp -o $(obj)path.o + g++ $(debug) -c $(libs)config.cpp -o $(obj)config.o + g++ $(debug) -c $(libs)note.cpp -o $(obj)note.o + g++ $(debug) -c $(libs)note_list.cpp -o $(obj)note_list.o + g++ $(debug) src/main.cpp $(obj)*.o -o $(out) debug: make all debug="-g" + +clean: + rm -rvf $(obj)*.o |