diff options
author | Ian Moffett <ian@osmora.org> | 2025-08-02 02:47:12 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-08-02 02:47:12 -0400 |
commit | 55fca707f04dbcbc92201956da85d3949f404841 (patch) | |
tree | 01e84aa6f7a2d54ad1f52afd9b682968ee4c09aa | |
parent | 2c6c07311295fadf2e6bbe855196beecefb3f128 (diff) |
build/lib: Add Makefile to libs/
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r-- | Makefile.in | 8 | ||||
-rw-r--r-- | lib/Makefile | 8 |
2 files changed, 12 insertions, 4 deletions
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) |