diff options
author | dzwdz | 2022-08-28 23:54:47 +0200 |
---|---|---|
committer | dzwdz | 2022-08-28 23:54:47 +0200 |
commit | edb7fc07bf93e4a1883cccf45ad7a4b2cbf390d9 (patch) | |
tree | 1df1e95e52d54d538d345cbf455bed096d9a1bb0 /Makefile | |
parent | f2eb3a78c7b69c4b8e118d91327cc5c1016481fc (diff) |
user/lua: prepare libc headers
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -38,7 +38,7 @@ endef .PHONY: all boot debug lint check clean -all: out/boot.iso check +all: out/boot.iso out/libm.a check boot: all out/hdd qemu-system-x86_64 -drive file=out/boot.iso,format=raw,media=disk $(QFLAGS) -serial stdio @@ -84,6 +84,10 @@ out/libc.a: $(call from_sources, src/user/lib/) \ @mkdir -p $(@D) @$(AR) rcs $@ $^ +out/libm.a: + @mkdir -p $(@D) + @$(AR) rcs $@ $^ + out/bootstrap: src/user/bootstrap/linker.ld $(call from_sources, src/user/bootstrap/) out/libc.a @mkdir -p $(@D) @$(CC) $(LFLAGS) -Wl,-Map=% -T $^ -o $@ |