summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 3e305ba..afc28cc 100644
--- a/Makefile
+++ b/Makefile
@@ -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

Generated by cgit