diff options
author | Aaron Ball <nullspoon@iohq.net> | 2016-01-28 23:15:37 -0700 |
---|---|---|
committer | Aaron Ball <nullspoon@iohq.net> | 2016-01-28 23:15:37 -0700 |
commit | a8c22c6a4fc58b976efffdc146351307f117fba4 (patch) | |
tree | 135543c92b15fb3bcbe4f529ba6efccf9a722cf7 | |
parent | 2b3d32c189ffa093eaa313f2f42c2735ef98e20a (diff) | |
download | ctimer-a8c22c6a4fc58b976efffdc146351307f117fba4.tar.gz ctimer-a8c22c6a4fc58b976efffdc146351307f117fba4.tar.xz |
Wasn't creating obj directory if it didn't exist, which would cause a
new compile to fail. This patch has the Makefile create the obj
directory if it doesn't yet exist.
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2,6 +2,7 @@ out=ctimer warn = -Wall -Wpedantic all: + if [[ ! -d obj ]]; then mkdir obj; fi cc $(dbg) $(warn) -c src/ctime.c -o obj/ctime.o cc $(dbg) $(warn) src/main.c obj/* -o $(out) |