Cleanup and fix tupfiles

This commit is contained in:
pjht 2022-10-09 14:32:07 -05:00
parent 46023c8cff
commit 65fcf982b6
2 changed files with 2 additions and 2 deletions

View File

@ -4,6 +4,6 @@ export RUSTUP_HOME
RUSTC_FLAGS = -C debuginfo=0 -C opt-level=3 --edition 2021 RUSTC_FLAGS = -C debuginfo=0 -C opt-level=3 --edition 2021
: initrd_maker.rs |> rustc $(RUSTC_FLAGS) -o %o %f |> bin/initrd_maker : initrd_maker.rs |> rustc $(RUSTC_FLAGS) -o %o %f |> bin/%B
: kernel/kernel.elf *.elf | bin/initrd_maker |> bin/initrd_maker %f |> initrd : kernel/kernel.elf *.elf | bin/initrd_maker |> bin/initrd_maker %f |> initrd
: boot/boot.bin initrd |> cat %f > %o |> os.dsk : boot/boot.bin initrd |> cat %f > %o |> os.dsk

View File

@ -2,4 +2,4 @@ include_rules
LDFLAGS += -T kernel.ld LDFLAGS += -T kernel.ld
: foreach *.68k |> !as |> : foreach *.68k |> !as |>
: *.o |> !ld |> kernel.elf : *.o | kernel.ld |> !ld |> kernel.elf