:: commit 375bdc6c9465082601986cb5acb371de0d3e84c1

mintsuki <mintsuki@protonmail.com> — 2020-04-10 15:47

parents: df22bcc17f

Fix makefile

diff --git a/Makefile b/Makefile
index a31b7889..37135341 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ all:
 clean:
 	$(MAKE) -C src clean
 
-test:
+test: all
 	$(MAKE) -C test
 	rm -f test.img
 	dd if=/dev/zero bs=1M count=0 seek=64 of=test.img
@@ -15,5 +15,5 @@ test:
 	echfs-utils -m -p0 test.img quick-format 32768
 	echfs-utils -m -p0 test.img import test/test.elf test.elf
 	echfs-utils -m -p0 test.img import test/qloader2.cfg qloader2.cfg
-	./qloader2-install test.img
+	./qloader2-install src/qloader2.bin test.img
 	qemu-system-x86_64 -hda test.img -monitor stdio
tab: 248 wrap: offon