Makefile: always attempt to compile usr.bin

This commit is contained in:
Michael Shaw 2024-02-25 17:35:30 -05:00
commit b801bdc5f0

View file

@ -45,8 +45,11 @@ HEADER_DEPS := $(CFILES:.c=.d) $(ASFILES:.S=.d)
.PHONY: all
all: $(KERNEL)
$(KERNEL): $(OBJ) linker.ld
.PHONY: _usr
_usr:
@cd usr.bin && ./make.sh install
$(KERNEL): $(OBJ) _usr linker.ld
@$(LD) $(OBJ) $(LDFLAGS) -o $@
@echo " LD $@"