blob: 8e5235f130bb96a4f597d5f01ea2f1b12edd16e8 (
plain)
1 out = noteless
2 libs = src/lib/
3 obj = obj/
4
5
6 all:
7 if [[ ! -d obj ]]; then mkdir obj; fi
8 g++ $(debug) -c $(libs)config.cpp -o $(obj)/config.o
9 g++ $(debug) -c $(libs)note.cpp -o $(obj)/note.o
10 g++ $(debug) -c $(libs)note_list.cpp -o $(obj)/note_list.o
11 g++ $(debug) src/main.cpp $(obj)/*.o -o $(out)
12
13 debug:
14 make all debug="-g"
|