aboutsummaryrefslogtreecommitdiff
path: root/c/timer/Makefile
diff options
context:
space:
mode:
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