megadrive_test1

diff Makefile @ 1:9e7f64c4fe7a

fixed missing defines when building romhdr.S
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 30 Jan 2017 08:29:05 +0200
parents 909c22dc18d2
children e7138066c7ea
line diff
     1.1 --- a/Makefile	Mon Jan 30 08:21:53 2017 +0200
     1.2 +++ b/Makefile	Mon Jan 30 08:29:05 2017 +0200
     1.3 @@ -18,6 +18,7 @@
     1.4  OBJCOPY = $(tool_prefix)objcopy
     1.5  
     1.6  CFLAGS = -m68000 -nostdinc -fno-builtin $(warn) $(dbg) $(opt) $(def)
     1.7 +CPPFLAGS = $(def)
     1.8  ASFLAGS = -m68000
     1.9  LDFLAGS = -T megadrive.ldscript -print-gc-sections
    1.10  
    1.11 @@ -30,3 +31,7 @@
    1.12  .PHONY: clean
    1.13  clean:
    1.14  	rm -f $(obj) $(elf) $(bin)
    1.15 +
    1.16 +.PHONY: run
    1.17 +run: $(bin)
    1.18 +	gens-sdl $<