summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNullspoon <nullspoon@iohq.net>2014-06-05 21:53:33 -0600
committerNullspoon <nullspoon@iohq.net>2014-06-05 21:53:33 -0600
commit1344693b1e3fb619a816200d4dd13d26d000b422 (patch)
treed97b571bba87d8ab374ca593aab89ded0d736c83 /Makefile
parentcc12e7b96dcfafe455bcae65c9c2920717714ccb (diff)
downloadnoteless-1344693b1e3fb619a816200d4dd13d26d000b422.tar.gz
noteless-1344693b1e3fb619a816200d4dd13d26d000b422.tar.xz
Added check for obj directory in Makefile
Now we don't have to have an empty directory as a part of the repo. It will be created on compile.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 89b1700..8e5235f 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,7 @@ obj = obj/
all:
+ if [[ ! -d obj ]]; then mkdir obj; fi
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

Generated by cgit