Add "make diag".
This commit is contained in:
parent
eff482f932
commit
13fdddc36d
7
Makefile
7
Makefile
@ -41,6 +41,13 @@ ejudge.sh: image.bin
|
||||
echo >>$@ "exec qemu-system-i386 -nographic -drive format=raw,file=image.bin -serial mon:stdio"
|
||||
chmod +x $@
|
||||
|
||||
diag:
|
||||
-uname -a
|
||||
-$(CC) --version
|
||||
-$(LD) -v
|
||||
-gcc --version
|
||||
-ld -v
|
||||
|
||||
debug-boot-nox: image.bin mbr.elf
|
||||
qemu-system-i386 -nographic -drive format=raw,file=$< -s -S &
|
||||
$(GDB) mbr.elf \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user