aboutsummaryrefslogtreecommitdiff
path: root/sys/rules.mk
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2021-12-05 09:47:21 -0800
committerNicholas Noll <nbnoll@eml.cc>2021-12-05 10:54:20 -0800
commit521d01e8ad87e931af3e9a763cc84a6cf7fe5ee3 (patch)
treef544119060c3eefc7b0fec6cff1740a362541213 /sys/rules.mk
parent158d9b84f14457136379f42e7c071eb79d87ee6b (diff)
Feat: basic string and memory functions
Continue filling out the basic standard lib functions. Included prototypes of the str* and mem* families. Plan to add e(str|mem) and n(str|mem) variants as well.
Diffstat (limited to 'sys/rules.mk')
-rw-r--r--sys/rules.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/rules.mk b/sys/rules.mk
index 1cbe50e..3dbdd0a 100644
--- a/sys/rules.mk
+++ b/sys/rules.mk
@@ -27,6 +27,8 @@ RT3_OBJ := $(filter %.o, $(RT3_SRC:.c=.o))
RT3_OBJ := $(patsubst $(SYS_DIR)/rt/%, $(OBJ_DIR)/rt/%, $(RT3_OBJ))
$(RT1_OBJ): TCFLAGS=-fno-builtin -fno-stack-protector
+$(RT1_OBJ): $(RT1_SRC)
+
$(RT1): $(SYS_DIR)/rt/$(ARCH)/rt1.s $(RT1_OBJ)
@echo "AS rt1.a"
@$(AS) $(AFLAGS) -o $(OBJ_DIR)/rt/rt1.o -c $<