diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-05-16 10:39:05 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-05-16 10:39:05 -0700 |
commit | 6c9563e91eb7aa738aa2656d141ce56ef66b50cf (patch) | |
tree | 85fd9a50777ae8f5ec14ca112d26c5f4b9262113 /sys/cmd/cc/rules.mk | |
parent | 3f7474df0645224ce61fedcd908028f41971189e (diff) |
feat: added directory for command line tools
Diffstat (limited to 'sys/cmd/cc/rules.mk')
-rw-r--r-- | sys/cmd/cc/rules.mk | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sys/cmd/cc/rules.mk b/sys/cmd/cc/rules.mk new file mode 100644 index 0000000..fe30305 --- /dev/null +++ b/sys/cmd/cc/rules.mk @@ -0,0 +1,20 @@ +include share/push.mk +# Iterate through subdirectory tree + +# Local sources +SRCS_$(d) := \ + $(d)/lex.c \ + $(d)/sym.c \ + $(d)/cc.c + +LIBS_$(d) := +BINS_$(d) := $(d)/cc +TSTS_$(d) := + +include share/paths.mk + +# Local rules +$(BINS_$(d)): $(OBJS_$(d)) $(OBJ_DIR)/libn/libn.a + $(COMPLINK) + +include share/pop.mk |