summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-08-14 12:15:03 -0400
committerJune McEnroe <june@causal.agency>2020-08-14 16:00:35 -0400
commitc9332d07f3f2fa16de73a4a51ecf0fce423d1f82 (patch)
treed6e77dc9a28decdb7e3fc43e0967cd226775cdf2 /Makefile
parentAdd prospective manual page for spawntab (diff)
downloadcatsit-c9332d07f3f2fa16de73a4a51ecf0fce423d1f82.tar.gz
catsit-c9332d07f3f2fa16de73a4a51ecf0fce423d1f82.zip
Add spawnd skeleton
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..46ab385
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+CFLAGS += -std=c99 -Wall -Wextra -Wpedantic
+
+-include config.mk
+
+OBJS += daemon.o
+
+all: spawn spawnd
+
+spawnd: ${OBJS}
+	${CC} ${LDFLAGS} ${OBJS} ${LDLIBS} -o $@
+
+${OBJS}: daemon.h
+
+clean:
+	rm -f spawn spawnd ${OBJS}