aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/tutorial/sndobj1
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2004-10-28 04:02:11 +0000
committerThomas Grill <xovo@users.sourceforge.net>2004-10-28 04:02:11 +0000
commitb196f48d32e04274f98baf06fbd981cd9f60d0a0 (patch)
treedd04d1d2e13c2ed562ab8f03036c252383a921bf /externals/grill/flext/tutorial/sndobj1
parentd417beb73087b6b39bc6a8c0321a589ea4bf3cac (diff)
autoconf files by Tim Blechmann
changes for OSX added required autoconf files svn path=/trunk/; revision=2183
Diffstat (limited to 'externals/grill/flext/tutorial/sndobj1')
-rw-r--r--externals/grill/flext/tutorial/sndobj1/Makefile.am53
1 files changed, 53 insertions, 0 deletions
diff --git a/externals/grill/flext/tutorial/sndobj1/Makefile.am b/externals/grill/flext/tutorial/sndobj1/Makefile.am
new file mode 100644
index 00000000..eb7ac446
--- /dev/null
+++ b/externals/grill/flext/tutorial/sndobj1/Makefile.am
@@ -0,0 +1,53 @@
+#
+# automake template
+# added by tim blechmann
+#
+
+NAME = sndobj1
+
+BUILT_SOURCES = main.cpp
+
+EXTRA_DIST = main.cpp \
+ $(NAME).cw \
+ $(NAME).dsp \
+ $(NAME).vcproj
+
+CXXFLAGS = @CXXFLAGS@ \
+ @OPT_FLAGS@ \
+ @INCLUDEDIR@ \
+ -I../../source \
+ $(DEFS)
+
+LDFLAGS = @LDFLAGS@ \
+ $(patsubst %,-framework %,$(FRAMEWORKS))
+
+LIBS = @LIBS@
+
+FRAMEWORKS = @FRAMEWORKS@
+
+TARGETDIR = @TARGETDIR@
+
+TARGET =$(NAME).@EXTENSION@
+
+OBJECTS = $(patsubst %.cpp,./%.@OBJEXT@,$(BUILT_SOURCES))
+
+SYSDIR = @SYSDIR@
+
+
+# ----------------------------- targets --------------------------------
+
+if SNDOBJ
+all-local: $(OBJECTS)
+ $(CXX) $(LDFLAGS) -shared ./*.@OBJEXT@ $(LIBS) -o ../$(TARGETDIR)/$(TARGET)
+ strip --strip-unneeded ../$(TARGETDIR)/$(TARGET)
+
+./%.@OBJEXT@ : %.cpp
+ $(CXX) -c $(CXXFLAGS) $< -o $@
+
+clean-local:
+ rm -f ../$(TARGETDIR)/$(TARGET)
+ rm -f ./$(OBJECTS)
+
+install-exec-local:
+ install ../$(TARGET) $(SYSDIR)extra
+endif \ No newline at end of file