summaryrefslogtreecommitdiff
path: root/make/bin.mk
diff options
context:
space:
mode:
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)