aboutsummaryrefslogtreecommitdiff
path: root/c/timer/Makefile
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-12-10 00:39:16 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-12-10 00:39:37 +0100
commit03f8544691a8de9f77a803fd8cd2eeadb919ec03 (patch)
tree4d3431d678b892cb057af72a982ac73d313d60f9 /c/timer/Makefile
Genesis commit
Diffstat (limited to 'c/timer/Makefile')
-rw-r--r--c/timer/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/c/timer/Makefile b/c/timer/Makefile
new file mode 100644
index 0000000..410dc79
--- /dev/null
+++ b/c/timer/Makefile
@@ -0,0 +1,11 @@
+include ../base.mk
+
+CFLAGS := $(CFLAGS) $(shell pkg-config --cflags libnotify) -D_ISOC99_SOURCE
+LDLIBS = $(shell pkg-config --libs libnotify)
+
+all: timer
+timer: main.c
+ $(CC) $(CFLAGS) $(LDLIBS) -o $@ $<
+
+clean:
+ rm -f timer