amiga_boottest

diff Makefile @ 2:58ebd84822e7

it works
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 22 Feb 2018 12:44:20 +0200
parents 48093e4bd99a
children
line diff
     1.1 --- a/Makefile	Wed Feb 21 18:00:45 2018 +0200
     1.2 +++ b/Makefile	Thu Feb 22 12:44:20 2018 +0200
     1.3 @@ -16,7 +16,7 @@
     1.4  OBJCOPY = $(tool_prefix)objcopy
     1.5  
     1.6  ASFLAGS = -m68000
     1.7 -CFLAGS = -m68000 -pedantic -Wall
     1.8 +CFLAGS = -m68000 -ffreestanding -pedantic -Wall -O3
     1.9  LDFLAGS = -T amiga.ld -print-gc-sections \
    1.10  		  -L/usr/lib/gcc-cross/m68k-linux-gnu/6 -lgcc
    1.11  
    1.12 @@ -34,4 +34,8 @@
    1.13  
    1.14  .PHONY: clean
    1.15  clean:
    1.16 -	rm -f $(obj) $(bin) $(elf)
    1.17 +	rm -f $(obj) src/boot/boot.o $(bin) $(elf)
    1.18 +
    1.19 +.PHONY: run
    1.20 +run:
    1.21 +	fs-uae