X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMakefile.am;fp=src%2FMakefile.am;h=98cf9b91e804e3ae52377c093b9a13719352fa8c;hp=b63b7d2aa431f1cbe14240c157439a2910b32b59;hb=cf4c819df08e2ab6c06532d8a4467fa58b2792ae;hpb=705fbbaf9a8064c034d23119e912da028af7fac7 diff --git a/src/Makefile.am b/src/Makefile.am index b63b7d2..98cf9b9 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -11,6 +11,8 @@ noinst_LIBRARIES = libmoof.a +libmoof_a_CPPFLAGS = -I$(top_srcdir)/src/Moof + libmoof_a_SOURCES = \ Moof/Aabb.cc \ Moof/Aabb.hh \ @@ -71,8 +73,6 @@ libmoof_a_SOURCES = \ Moof/fastevents.h \ $(ENDLIST) -libmoof_a_CPPFLAGS = -I$(top_srcdir)/src/Moof - EXTRA_DIST = Moof/cml Moof/stlplus @@ -82,6 +82,9 @@ EXTRA_DIST = Moof/cml Moof/stlplus bin_PROGRAMS = yoink +yoink_CPPFLAGS = -I$(top_srcdir)/src/Moof +yoink_LDADD = libmoof.a + yoink_SOURCES = \ Animation.cc \ Animation.hh \ @@ -111,14 +114,13 @@ yoink_SOURCES = \ $(ENDLIST) if WIN32 -yoink_SOURCES += yoink.rc yoink.ico -.rc.o: - $(AM_V_GEN) $(WINDRES) -o $@ -i $< -endif -yoink_CPPFLAGS = -I$(top_srcdir)/src/Moof -yoink_LDADD = libmoof.a +yoink_SOURCES += yoink.rc +.rc.o: + $(WINDRES) -o $@ -i $< + +else YOINK_ENVIRONMENT = YOINK_DATADIR="$(top_srcdir)/data" @@ -126,5 +128,7 @@ run: all $(YOINK_ENVIRONMENT) ./yoink $(YOINK_OPTS) debug: all - $(YOINK_ENVIRONMENT) ddd ./yoink + $(YOINK_ENVIRONMENT) gdb ./yoink + +endif