aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/ic/rules.mk
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-06-18 19:49:01 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-06-18 19:49:01 -0700
commit81fed70379578f4fe6255fdf33699675179ffe91 (patch)
tree5518ee17eb5781ee7e50454f5805599fd8388fce /sys/cmd/ic/rules.mk
parentd62e5c1df92ee159d0203b75adebb50faf45badb (diff)
feat: small coreutils added
Diffstat (limited to 'sys/cmd/ic/rules.mk')
-rw-r--r--sys/cmd/ic/rules.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/cmd/ic/rules.mk b/sys/cmd/ic/rules.mk
new file mode 100644
index 0000000..9a52e42
--- /dev/null
+++ b/sys/cmd/ic/rules.mk
@@ -0,0 +1,14 @@
+include share/push.mk
+# Iterate through subdirectory tree
+
+# Local sources
+SRCS_$(d) := $(d)/ic.c
+BINS_$(d) := $(d)/ic
+
+include share/paths.mk
+
+# Local rules
+$(BINS_$(d)): $(OBJS_$(d)) $(OBJ_DIR)/libn/libn.a
+ $(COMPLINK)
+
+include share/pop.mk