summaryrefslogtreecommitdiff
path: root/make/bin.mk
diff options
context:
space:
mode:
authorpeter <peter@pmikkelsen.com>2026-09-13 21:04:43 +0000
committerpeter <peter@pmikkelsen.com>2026-09-13 21:04:43 +0000
commit9489815e240d0c3b2f0d20999b0e58ae0221f224 (patch)
tree389f4442f0b4ebc73493438cadf16c968e5ed7d9 /make/bin.mk
parent83bdc0e59232434fc30f94e2fc3a22e81989e4dd (diff)
Initial bit of work to get rid of cmake.
FossilOrigin-Name: 4d6a05bd71d4971e09528f5c534603092047a97afea1ea68615be4a5d49313d0
Diffstat (limited to 'make/bin.mk')
-rw-r--r--make/bin.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/make/bin.mk b/make/bin.mk
new file mode 100644
index 0000000..2739bbf
--- /dev/null
+++ b/make/bin.mk
@@ -0,0 +1,7 @@
+OBJS = $(SRCS:.c=$(OBJEXT))
+$(OBJS): $(HDRS)
+
+$(TARG): $(OBJS) $(EXTRA_OBJS)
+ $(CC) -o $@ $^
+
+CLEAN_FILES += $(TARG) $(OBJS)