aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/tutorial/attr2
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-01-06 04:59:21 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-01-06 04:59:21 +0000
commited4ce25dc69fd6361f7655a3ab5d05186754316c (patch)
tree39f14a7ccb5116b0368a921944469f747e95c1d0 /externals/grill/flext/tutorial/attr2
parentaeb9247272c2772c491df8f682aebf0097c98519 (diff)
build system for flext-based externals
reconsidered flext::buffer:Update improved buffer handling added object construction and destruction flags updated autoconf system updated documentation updated build system svn path=/trunk/; revision=2467
Diffstat (limited to 'externals/grill/flext/tutorial/attr2')
-rw-r--r--externals/grill/flext/tutorial/attr2/Makefile.am12
1 files changed, 6 insertions, 6 deletions
diff --git a/externals/grill/flext/tutorial/attr2/Makefile.am b/externals/grill/flext/tutorial/attr2/Makefile.am
index e0fe461e..f1a6a347 100644
--- a/externals/grill/flext/tutorial/attr2/Makefile.am
+++ b/externals/grill/flext/tutorial/attr2/Makefile.am
@@ -8,20 +8,20 @@ NAME = attr2
BUILT_SOURCES = main.cpp
EXTRA_DIST = main.cpp \
- $(NAME).cw \
- $(NAME).dsp \
+ $(NAME).mcp \
$(NAME).vcproj
CXXFLAGS = @CXXFLAGS@ \
@OPT_FLAGS@ \
@INCLUDEDIR@ \
-I../../source \
- $(DEFS)
+ $(DEFS) \
+ -DFLEXT_SHARED
LDFLAGS = @LDFLAGS@ \
$(patsubst %,-framework %,$(FRAMEWORKS))
-LIBS = @LIBS@
+LIBS = @LIBS@ -lflext
FRAMEWORKS = @FRAMEWORKS@
@@ -37,7 +37,7 @@ SYSDIR = @SYSDIR@
# ----------------------------- targets --------------------------------
all-local: $(OBJECTS)
- $(CXX) $(LDFLAGS) -shared ./*.@OBJEXT@ $(LIBS) -o ../$(TARGETDIR)/$(TARGET)
+ $(CXX) $(LDFLAGS) ./*.@OBJEXT@ $(LIBS) -o ../$(TARGETDIR)/$(TARGET)
strip --strip-unneeded ../$(TARGETDIR)/$(TARGET)
./%.@OBJEXT@ : %.cpp
@@ -48,4 +48,4 @@ clean-local:
rm -f ./$(OBJECTS)
install-exec-local:
- install ../$(TARGET) $(SYSDIR)extra \ No newline at end of file
+ install ../$(TARGET) $(SYSDIR)extra