#################################
# HAM Makefile
#################################

include $(HAMDIR)/system/master.mak

#
# Set the name of your desired GBA image name here
#
PROGNAME = colem

#
# Set a list of files you want to compile 
# 
OFILES += Coleco.arm.o Debug.o LibUnix.o SN76489.o SndUnix.o Unix.o Z80.o gba.arm.o coleco.rom.o cart.rom.o vba.o
CFLAGS += -DCOLEM -DLSB_FIRST -O3 -funroll-loops -fstrict-aliasing -fomit-frame-pointer -ffast-math -mthumb

######################################
# Standard Makefile targets start here
######################################

all : $(PROGNAME).$(EXT)

#
# Most Makefile targets are predefined for you, suchas
# vba, clean ... in the following file
#
include $(HAMDIR)/system/standard-targets.mak

######################################
# custom  Makefile targets start here
######################################

