diff options
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 $@ |