From b196f48d32e04274f98baf06fbd981cd9f60d0a0 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Thu, 28 Oct 2004 04:02:11 +0000 Subject: autoconf files by Tim Blechmann changes for OSX added required autoconf files svn path=/trunk/; revision=2183 --- externals/grill/flext/tutorial/adv3/Makefile.am | 51 +++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 externals/grill/flext/tutorial/adv3/Makefile.am (limited to 'externals/grill/flext/tutorial/adv3/Makefile.am') diff --git a/externals/grill/flext/tutorial/adv3/Makefile.am b/externals/grill/flext/tutorial/adv3/Makefile.am new file mode 100644 index 00000000..e069be64 --- /dev/null +++ b/externals/grill/flext/tutorial/adv3/Makefile.am @@ -0,0 +1,51 @@ +# +# automake template +# added by tim blechmann +# + +NAME = adv3 + +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 -------------------------------- + +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 \ No newline at end of file -- cgit v1.2.1