aboutsummaryrefslogtreecommitdiff
path: root/c/atexit/Makefile
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-12-10 22:09:47 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-12-10 22:09:47 +0100
commite10f9802088722e85fd4f2f9cb006d2bdca37d3c (patch)
tree2551f776000f48fbbb0fe8819a661982207e0b35 /c/atexit/Makefile
parent7d0eb550338af7301bc45e2f003812ee487f2d8c (diff)
Add atexit
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