From 2b05b47d9b1a2131dcb4fc63fee32b9db7963012 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 13 Feb 2021 12:25:32 +0000 Subject: [PATCH] Fix makefiles to rebuild ISO files if they are deleted. --- build64/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build64/Makefile b/build64/Makefile index 6249b32..c4ca20f 100644 --- a/build64/Makefile +++ b/build64/Makefile @@ -121,7 +121,7 @@ esp.img: memtest.efi /sbin/mkdosfs -n MEMTEST-ESP -F12 -C esp.img 4096 mcopy -s -i esp.img iso/EFI :: -iso: memtest.mbr floppy.img esp.img +memtest.iso: memtest.mbr floppy.img esp.img @mkdir -p iso/boot cp floppy.img iso/boot/floppy.img xorrisofs -pad -R -J -volid PCMemTest64 -graft-points -hide-rr-moved --grub2-mbr memtest.mbr \ @@ -129,5 +129,7 @@ iso: memtest.mbr floppy.img esp.img -part_like_isohybrid -iso_mbr_part_type 0x00 -append_partition 2 0xef ./esp.img \ -o ./memtest.iso /boot=./iso/boot +iso: memtest.iso + clean: rm -rf boot system lib tests app *.img *.iso memtest* iso