summaryrefslogtreecommitdiff
path: root/usr.bin/getconf/Makefile
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-06-28 20:31:58 -0400
committerIan Moffett <ian@osmora.org>2025-06-28 20:31:58 -0400
commit66ec8765f305c7a5318d38a383e23b1280cd9186 (patch)
tree48bbd9f6b3b5fd99954b596d9aebacf7ef35d410 /usr.bin/getconf/Makefile
parent8beb7f3ad581076f08e363b724488eaa27d089ac (diff)
usr.bin: Add initial getconf impl
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'usr.bin/getconf/Makefile')
-rw-r--r--usr.bin/getconf/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/getconf/Makefile b/usr.bin/getconf/Makefile
new file mode 100644
index 0000000..48c05a8
--- /dev/null
+++ b/usr.bin/getconf/Makefile
@@ -0,0 +1,6 @@
+include user.mk
+
+CFILES = $(shell find . -name "*.c")
+
+$(ROOT)/base/usr/bin/getconf:
+ gcc $(CFILES) -Iinclude/ -o $@ $(INTERNAL_CFLAGS)