diff options
author | Nullspoon <nullspoon@iohq.net> | 2014-07-23 23:24:40 -0600 |
---|---|---|
committer | Nullspoon <nullspoon@iohq.net> | 2014-07-23 23:24:40 -0600 |
commit | fb9106d60d1b4e3e390becf58d612a9f5160dc0b (patch) | |
tree | 4a1499cc8a47d9103b34be1f5083d88fc3ae909b /Makefile | |
parent | 0fd4ebe3f2cde2981045995d410940b83b0ca87d (diff) | |
download | noteless-fb9106d60d1b4e3e390becf58d612a9f5160dc0b.tar.gz noteless-fb9106d60d1b4e3e390becf58d612a9f5160dc0b.tar.xz |
Changed "File" class to "Path"
Path seems more fitting given it's used for more than just a filename string.
Converted note, main, and note_list to use new path class.
Added .exists() method to path (wasn't in File).
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 |