summaryrefslogtreecommitdiff
path: root/src/sys/lib/Makefile
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-09-14 15:01:34 -0400
committerIan Moffett <ian@osmora.org>2025-09-14 15:01:34 -0400
commit1c0dfd67e7c181951f490f4e58693582f2c3871a (patch)
tree76fd404af48d6fca09d91afff450e4005bf56d49 /src/sys/lib/Makefile
parent5c5212939765f421e5bb39f93b67430f8dfab6ae (diff)
build: Do not have per subsystem libs
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/lib/Makefile')
-rw-r--r--src/sys/lib/Makefile25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/sys/lib/Makefile b/src/sys/lib/Makefile
deleted file mode 100644
index 46e4aec..0000000
--- a/src/sys/lib/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-include ../conf/sys.mk
-
-.SILENT:
-override PROMPT := printf "%s\t\t%s\n"
-
-TARGET_LIB = ../target/libstring.a
-CFLAGS = -I../include/ -I../include/lib/ -I../target/header/ $(MI_CFLAGS) -O0
-CFILES = $(shell find . -name "*.c")
-
-DEPS = $(CFILES:.c=.d)
-OBJECTS = $(CFILES:%.c=%.o)
-
-.PHONY: all
-all: $(OBJECTS)
- $(PROMPT) " MI.AR " $<
- ar rcs $(TARGET_LIB) $(OBJECTS)
-
--include $(DEPS)
-%.o: %.c
- $(PROMPT) " MI.CC " $<
- $(CC) -c $(CFLAGS) $< -o $@
-
-.PHONY: clean
-clean:
- rm -f $(DEPS) $(OBJECTS)