Generalize build mechanism for host utils
This commit is contained in:
parent
ba472e81b2
commit
a4697fa666
4
Makefile
4
Makefile
@ -37,6 +37,10 @@ endif
|
||||
|
||||
default: fdimage.img
|
||||
|
||||
# Host utils
|
||||
utils/%: src/utils/%.c
|
||||
$(CC) -o $@ $<
|
||||
|
||||
# Boot sectors
|
||||
boot/%.bs: boot/%.asm
|
||||
$(NASM) $(NASM_ARGS) -DFLOPPY=$(FLOPPY) -o $@ $<
|
||||
|
Loading…
Reference in New Issue
Block a user