summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index cd4ee94..06f7be0 100644
--- a/Makefile
+++ b/Makefile
@@ -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)

Generated by cgit