Makefile: Declare all dependencies
Test with: find -name '*.asm' | while read f; do echo $f && touch $f && make | grep 'fox32asm 0.' || break; done If the last line of output is a filename, that means this file isn't tracked as a dependency.
This commit is contained in:
parent
9e256a7e3c
commit
a0d1a78c1c
9
Makefile
9
Makefile
|
@ -10,16 +10,17 @@ all: fox32os.img
|
|||
base_image:
|
||||
mkdir -p base_image
|
||||
|
||||
base_image/kernel.fxf: kernel/main.asm
|
||||
base_image/kernel.fxf: kernel/main.asm $(wildcard kernel/*.asm kernel/*/*.asm)
|
||||
$(FOX32ASM) $< $@
|
||||
|
||||
base_image/sh.fxf: applications/sh/main.asm
|
||||
base_image/sh.fxf: applications/sh/main.asm $(wildcard applications/sh/*.asm applications/sh/*/*.asm)
|
||||
echo $(wildcard applications/sh/**/*.asm)
|
||||
$(FOX32ASM) $< $@
|
||||
|
||||
base_image/barclock.fxf: applications/barclock/main.asm
|
||||
$(FOX32ASM) $< $@
|
||||
|
||||
base_image/terminal.fxf: applications/terminal/main.asm
|
||||
base_image/terminal.fxf: applications/terminal/main.asm $(wildcard applications/terminal/*.asm)
|
||||
$(FOX32ASM) $< $@
|
||||
|
||||
base_image/foxpaint.fxf: applications/foxpaint/main.asm
|
||||
|
@ -34,7 +35,7 @@ base_image/bg.raw: applications/bg/bg.inc
|
|||
applications/bg/bg.inc: applications/bg/bg.png
|
||||
$(GFX2INC) 640 480 $< $@
|
||||
|
||||
bootloader/bootloader.bin: bootloader/main.asm
|
||||
bootloader/bootloader.bin: bootloader/main.asm $(wildcard bootloader/*.asm)
|
||||
$(FOX32ASM) $< $@
|
||||
|
||||
FILES = \
|
||||
|
|
Loading…
Reference in New Issue
Block a user