aboutsummaryrefslogtreecommitdiff
path: root/c/cloexec/Makefile
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-06-07 00:06:49 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-06-07 00:06:49 +0200
commit85f37eb9f6fd8b633d312dbd5471d06a75762956 (patch)
tree4d5748ee166ef19773a007befecf0c220d51bb82 /c/cloexec/Makefile
parentcdf2238a33d63947ad70b0c26a3b4f4fe1f18454 (diff)
Add cloexec
Diffstat (limited to 'c/cloexec/Makefile')
-rw-r--r--c/cloexec/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/c/cloexec/Makefile b/c/cloexec/Makefile
new file mode 100644
index 0000000..1c57a62
--- /dev/null
+++ b/c/cloexec/Makefile
@@ -0,0 +1,8 @@
+include ../base.mk
+
+all: cloexec
+cloexec: cloexec.c
+ $(CC) $(CFLAGS) -o $@ $<
+
+clean:
+ rm -f cloexec