Update of /cvsroot/pure-data/externals/grill/flext/tutorial/sndobj1
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22002/tutorial/sndobj1
Added Files:
Makefile.am
Log Message:
autoconf files by Tim Blechmann
changes for OSX
added required autoconf files
--- NEW FILE: Makefile.am ---
#
# 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