summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@iohq.net>2016-01-28 22:40:10 -0700
committerAaron Ball <nullspoon@iohq.net>2016-01-28 22:40:10 -0700
commitc16519973a0f26048716362a946ce91d5d450ed1 (patch)
treed3f85c634cd7e26e4c2d4fac505c9407045f11d9 /Makefile
downloadctimer-c16519973a0f26048716362a946ce91d5d450ed1.tar.gz
ctimer-c16519973a0f26048716362a946ce91d5d450ed1.tar.xz
Initial commit
Currently counts up to 59 minutes and 59 seconds before resetting.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..cd4ee94
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,9 @@
+out=ctimer
+warn = -Wall -Wpedantic
+
+all:
+ cc $(dbg) $(warn) -c src/ctime.c -o obj/ctime.o
+ cc $(dbg) $(warn) src/main.c obj/* -o $(out)
+
+debug:
+ make dbg=-g

Generated by cgit