From 55fca707f04dbcbc92201956da85d3949f404841 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 2 Aug 2025 02:47:12 -0400 Subject: build/lib: Add Makefile to libs/ Signed-off-by: Ian Moffett --- Makefile.in | 8 ++++---- lib/Makefile | 8 ++++++++ 2 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 lib/Makefile diff --git a/Makefile.in b/Makefile.in index 42a0f94..a7d84c4 100644 --- a/Makefile.in +++ b/Makefile.in @@ -67,7 +67,7 @@ override USRDIR = $(shell pwd)/base/usr .PHONY: all -all: stand/boot/ libc sbin bin base/boot/hyra.krq +all: stand/boot/ libs sbin bin base/boot/hyra.krq rm -f sys/include/machine .PHONY: sbin @@ -82,9 +82,9 @@ bin: $(BIN_MAKEDIRS) ROOT=$(PROJECT_ROOT) OSVER=$(HYRA_VERSION) OSARCH=$(ARCH)\ CC="$(CC)" -.PHONY: libc -libc: - $(MAKE) -C lib/libc/ -I$(shell pwd)/builddeps \ +.PHONY: libs +libs: + $(MAKE) -C lib/ -I$(shell pwd)/builddeps \ USRDIR=$(USRDIR) ARCH=$(ARCH) ROOT=$(PROJECT_ROOT) \ CC="$(CC)" diff --git a/lib/Makefile b/lib/Makefile new file mode 100644 index 0000000..a201891 --- /dev/null +++ b/lib/Makefile @@ -0,0 +1,8 @@ +LDSCRIPT = +USRDIR = +ROOT = +ARGS = -I$(ROOT)/builddeps LDSCRIPT=$(LDSCRIPT) USRDIR=$(USRDIR) ROOT=$(ROOT) + +.PHONY: all +all: + make -C libc/ $(ARGS) -- cgit v1.2.3