aboutsummaryrefslogtreecommitdiff
path: root/c/atexit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'c/atexit/Makefile')
-rw-r--r--c/atexit/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/c/atexit/Makefile b/c/atexit/Makefile
new file mode 100644
index 0000000..ffcb7ba
--- /dev/null
+++ b/c/atexit/Makefile
@@ -0,0 +1,8 @@
+include ../base.mk
+
+all: atexit
+atexit: main.c
+ $(CC) $(CFLAGS) -lpthread -o $@ $<
+
+clean:
+ rm -f atexit