gba-x3dtest
diff Makefile @ 1:b7130fe3f073
foo
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 13 Jun 2014 19:10:11 +0300 |
parents | 0d2602a1b851 |
children | 850be43b3135 |
line diff
1.1 --- a/Makefile Thu Jun 12 05:37:18 2014 +0300 1.2 +++ b/Makefile Fri Jun 13 19:10:11 2014 +0300 1.3 @@ -13,11 +13,14 @@ 1.4 CC = $(ARCH)-gcc 1.5 AS = $(ARCH)-as 1.6 OBJCOPY = $(ARCH)-objcopy 1.7 +EMU = vbam 1.8 1.9 -opt = -O3 -fomit-frame-pointer -marm -mcpu=arm7tdmi -mtune=arm7tdmi 1.10 +#opt = -O3 -fomit-frame-pointer -mcpu=arm7tdmi -mtune=arm7tdmi 1.11 +dbg = -g 1.12 1.13 -CFLAGS = $(opt) -pedantic -Wall -I../gbasys/src -I. 1.14 +CFLAGS = $(opt) $(dbg) -pedantic -Wall -I../gbasys/src -I. 1.15 LDFLAGS = ../gbasys/libgbasys.a -lm 1.16 +EMUFLAGS = -T 100 -f 1 1.17 1.18 .PHONY: all 1.19 all: $(bin) $(bin_mb) 1.20 @@ -56,4 +59,4 @@ 1.21 1.22 .PHONY: simrun 1.23 simrun: $(bin) 1.24 - VisualBoyAdvance -T 100 -2 $(bin) 1.25 + $(EMU) $(EMUFLAGS) $(bin)