Generalize build mechanism for host utils
This commit is contained in:
parent
ba472e81b2
commit
a4697fa666
2 changed files with 4 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue