PACKAGE = @PACKAGE@
VERSION = @VERSION@

DATA_PREFIX=$(pkgdatadir)/
DEFS =  -DVERSION=\"@VERSION@\"

CXXFLAGS  = @CXXFLAGS@ -Wall \
	-DSHXMAN_DATA=\"$(DATA_PREFIX)\"

LIBS    = @LIBS@ -lm

CXX = g++

bin_PROGRAMS = mangoquest
mangoquest_SOURCES = main.cpp map_loading.cpp timers.cpp move.cpp bonus.cpp \
			 texture.cpp sector.cpp hut.cpp shmollux.cpp \
			 world_building.cpp world_geometry.cpp map_utils.cpp \
			 system_gl.cpp draw_scene_gl.cpp minimap.cpp \
			 geom_cube.cpp geom_star.cpp geom_demisphere.cpp \
			 geom_cuberond.cpp geom_tunasbox.cpp geom_winningpost.cpp\
			 hud.cpp game_loop.cpp maximap.cpp\
			 font.cpp gltga.cpp tga.cpp utility.cpp \
			 file_utils.cpp config_file.cpp sounds.cpp \
			 teleport.cpp map_seeking.cpp menu_skirmish.cpp \
			 menu_main.cpp menu_credits.cpp menu_options.cpp \
			 menu_campaign.cpp menu_ingame.cpp

mangoquest_CFLAGS  = CXXFLAGS
mangoquest_LIBS    = LIBS
