TOP=	../..
include Makefile.config

PROJECT=	"catastrophe"
PROJINCLUDES=	configure.lua
PROG_TYPE=	"GUI"
PROG_GUID=	"d9d1acc4-fd35-4b07-9b33-48f086ebc59d"
PROG_LINKS=	ag_core ag_gui pthreads SDL SDLmain opengl freetype

PROG=	catastrophe
SRCS=	catastrophe.c

CFLAGS+=${FREESG_CFLAGS} ${AGAR_CFLAGS}
LIBS+=	${FREESG_LIBS} ${AGAR_LIBS}

all: all-subdir ${PROG}

configure: configure.in
	cat configure.in | mkconfigure > configure
	chmod 755 configure

.PHONY: configure

include ${TOP}/mk/build.prog.mk