# devkitadv base dir
export CCBASE=c:/devkitadv
# User options passed to the compiler
export CUSER=-DLITTLE_ENDIAN -DGP32
include $(CCBASE)/gp32.mk
#------------------------------

APP=pokersqr
SRC=pokersqr.c charset.c bgnd.c palette.c

all: $(APP).fxe

$(APP).gxb: $(APP).elf
$(APP).elf: $(SRC:.c=.o)
	$(LINK)

$(SRC):

$(APP).fxe: $(APP).gxb
	b2fxe -t $(APP) -b $(APP).bmp $(APP).gxb $(APP).fxe

clean:
	rm -f $(APP).gxb $(APP).elf *.o

