X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMakefile.am;h=8b3900c21ae9abb203f5f5b11599ecede29abf63;hp=510dc9efdc278e2a32dee404ce07fd1fc91f22d8;hb=f72400af4fa3e7b54dab154b5a2b6503a6f9af18;hpb=7d15b919681bb9ec0088b4b27c6abf62d6dfb9b1 diff --git a/src/Makefile.am b/src/Makefile.am index 510dc9e..8b3900c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,55 +1,77 @@ -noinst_LTLIBRARIES = libdc.la +noinst_LTLIBRARIES = libmoof.la -libdc_la_SOURCES = \ - ConvertUTF.c \ - ConvertUTF.h \ - aabb.hh \ - animation.cc \ - animation.hh \ - deserializer.cc \ - deserializer.hh \ - dispatcher.cc \ - dispatcher.hh \ - drawable.hh \ - engine.cc \ - engine.hh \ - event.hh \ - fastevents.c \ - fastevents.h \ - interpolator.hh \ - math.hh \ - mippleton.hh \ - opengl.hh \ - profiler.hh \ - random.cc \ - random.hh \ - resource.cc \ - resource.hh \ - scene.cc \ - scene.hh \ - serializable.cc \ - serializable.hh \ - serializer.cc \ - serializer.hh \ - settings.cc \ - settings.hh \ - singleton.hh \ - stringtools.cc \ - stringtools.hh \ - texture.cc \ - texture.hh \ - thread.hh \ - tilemap.cc \ - tilemap.hh \ - timer.cc \ - timer.hh \ - video.cc \ - video.hh \ +libmoof_la_SOURCES = \ + Moof/Aabb.cc \ + Moof/Aabb.hh \ + Moof/Animation.cc \ + Moof/Animation.hh \ + Moof/Camera.cc \ + Moof/Camera.hh \ + Moof/ConvertUTF.c \ + Moof/ConvertUTF.h \ + Moof/Cullable.hh \ + Moof/Deserializer.cc \ + Moof/Deserializer.hh \ + Moof/Dispatcher.cc \ + Moof/Dispatcher.hh \ + Moof/Drawable.hh \ + Moof/Engine.cc \ + Moof/Engine.hh \ + Moof/Entity.hh \ + Moof/Event.hh \ + Moof/Exception.hh \ + Moof/Frustum.cc \ + Moof/Frustum.hh \ + Moof/Hash.cc \ + Moof/Hash.hh \ + Moof/Interpolator.hh \ + Moof/Log.cc \ + Moof/Log.hh \ + Moof/Math.hh \ + Moof/Mippleton.hh \ + Moof/Octree.cc \ + Moof/Octree.hh \ + Moof/OpenGL.cc \ + Moof/OpenGL.hh \ + Moof/Physics.hh \ + Moof/Plane.cc \ + Moof/Plane.hh \ + Moof/Random.cc \ + Moof/Random.hh \ + Moof/Rectangle.cc \ + Moof/Rectangle.hh \ + Moof/Resource.cc \ + Moof/Resource.hh \ + Moof/Scene.cc \ + Moof/Scene.hh \ + Moof/Serializable.cc \ + Moof/Serializable.hh \ + Moof/Serializer.cc \ + Moof/Serializer.hh \ + Moof/Settings.cc \ + Moof/Settings.hh \ + Moof/Sound.cc \ + Moof/Sound.hh \ + Moof/Sphere.cc \ + Moof/Sphere.hh \ + Moof/StringTools.cc \ + Moof/StringTools.hh \ + Moof/Texture.cc \ + Moof/Texture.hh \ + Moof/Thread.hh \ + Moof/Tilemap.cc \ + Moof/Tilemap.hh \ + Moof/Timer.cc \ + Moof/Timer.hh \ + Moof/Video.cc \ + Moof/Video.hh \ + Moof/fastevents.c \ + Moof/fastevents.h \ $(ENDLIST) -libdc_la_CPPFLAGS = -I/usr/include/SDL -I$(top_srcdir)/yajl/src -libdc_la_LIBADD = $(top_srcdir)/yajl/libyajl.la +libmoof_la_CPPFLAGS = -I$(top_srcdir)/src/Moof -I$(top_srcdir)/yajl/src +libmoof_la_LIBADD = $(top_srcdir)/yajl/libyajl.la bin_PROGRAMS = yoink @@ -57,6 +79,8 @@ bin_PROGRAMS = yoink yoink_SOURCES = \ Character.cc \ Character.hh \ + Hud.cc \ + Hud.hh \ TilemapFont.cc \ TilemapFont.hh \ Typesetter.cc \ @@ -65,9 +89,18 @@ yoink_SOURCES = \ YoinkApp.hh \ $(ENDLIST) -yoink_CPPFLAGS = -I/usr/include/SDL -yoink_LDADD = libdc.la +yoink_CPPFLAGS = -I$(top_srcdir)/src/Moof +yoink_LDADD = libmoof.la -EXTRA_DIST = cml +EXTRA_DIST = Moof/cml Moof/stlplus + + +YOINK_ENVIRONMENT = YOINK_DATADIR="$(top_srcdir)/data" + +run: all + $(YOINK_ENVIRONMENT) ./yoink $(YOINK_OPTS) + +debug: all + $(YOINK_ENVIRONMENT) gdb ./yoink