Merge pull request #6 from neuschaefer/main

Makefile: Declare all dependencies
This commit is contained in:
Ry 2023-01-21 15:22:06 -08:00 committed by GitHub
commit 5e961c5c73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,16 +10,17 @@ all: fox32os.img
base_image: base_image:
mkdir -p 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) $< $@ $(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) $< $@ $(FOX32ASM) $< $@
base_image/barclock.fxf: applications/barclock/main.asm base_image/barclock.fxf: applications/barclock/main.asm
$(FOX32ASM) $< $@ $(FOX32ASM) $< $@
base_image/terminal.fxf: applications/terminal/main.asm base_image/terminal.fxf: applications/terminal/main.asm $(wildcard applications/terminal/*.asm)
$(FOX32ASM) $< $@ $(FOX32ASM) $< $@
base_image/foxpaint.fxf: applications/foxpaint/main.asm 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 applications/bg/bg.inc: applications/bg/bg.png
$(GFX2INC) 640 480 $< $@ $(GFX2INC) 640 480 $< $@
bootloader/bootloader.bin: bootloader/main.asm bootloader/bootloader.bin: bootloader/main.asm $(wildcard bootloader/*.asm)
$(FOX32ASM) $< $@ $(FOX32ASM) $< $@
FILES = \ FILES = \