#
# gp2x makefile generics
#

CC      = arm-open2x-linux-gcc
CXX     = arm-open2x-linux-g++
STRIP   = arm-open2x-linux-strip --strip-unneeded
OBJCOPY = arm-open2x-linux-objcopy

BINEXT = .gpe

#
# GP2X binaries must be statically linked.
#
LIBPNG_LDFLAGS = $(shell libpng12-config --static --ldflags)
ARCH_EXE_LDFLAGS = -static

#
# There's a couple of other packaged files on GP2X
#
build: ${build}
	${RM} ${build}/${mzxrun}.debug
	${CP} arch/gp2x/pad.config ${build}
	-@convert -scale 32x32 contrib/icons/quantump.png ${build}/mzxrun.png

include arch/zip.inc
