+yoink_CPPFLAGS = -I$(top_srcdir)/src/Moof
+yoink_LDADD = libmoof.a
+
+yoink_SOURCES = \
+ Animation.cc \
+ Animation.hh \
+ Character.cc \
+ Character.hh \
+ ErrorHandler.cc \
+ ErrorHandler.hh \
+ GameLayer.cc \
+ GameLayer.hh \
+ GameState.hh \
+ Heroine.cc \
+ Heroine.hh \
+ Hud.cc \
+ Hud.hh \
+ Main.cc \
+ Main.hh \
+ Scene.cc \
+ Scene.hh \
+ TilemapFont.cc \
+ TilemapFont.hh \
+ TitleLayer.cc \
+ TitleLayer.hh \
+ Typesetter.cc \
+ Typesetter.hh \
+ version.c \
+ version.h \
+ $(ENDLIST)
+
+if WIN32
+yoink_SOURCES += yoink.rc
+.rc.o:
+ $(WINDRES) -o $@ -i $<
+else
+YOINK_ENVIRONMENT = YOINK_DATADIR="$(top_srcdir)/data"
+run: all
+ $(YOINK_ENVIRONMENT) ./yoink $(YOINK_OPTS)
+
+debug: all
+ $(YOINK_ENVIRONMENT) gdb ./yoink
+endif
+
+if LINK_SH
+yoink$(EXEEXT): $(yoink_OBJECTS) $(yoink_DEPENDENCIES)
+ @rm -f yoink$(EXEEXT)
+ @LINK="$(CXXLINK) $(yoink_OBJECTS) $(yoink_LDADD) $(LIBS)"\
+ sh $(top_srcdir)/link.sh
+
+clean-local:
+ rm -f .link/*
+endif