diff options
author | N.N. <nimon@users.sourceforge.net> | 2010-09-09 09:14:34 +0000 |
---|---|---|
committer | N.N. <nimon@users.sourceforge.net> | 2010-09-09 09:14:34 +0000 |
commit | 40f44ede6fb1b3b160fc34bac7e46a0f86653f64 (patch) | |
tree | 251b4a6d46f94b6870f7cbf7f2437a057fcd2b07 /msd/msd2D/Makefile.am | |
parent | a37353ab3ae1ecd468280a9aad2555177714dbcb (diff) |
svn path=/trunk/externals/nusmuk/; revision=14014
Diffstat (limited to 'msd/msd2D/Makefile.am')
-rw-r--r-- | msd/msd2D/Makefile.am | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/msd/msd2D/Makefile.am b/msd/msd2D/Makefile.am new file mode 100644 index 0000000..59a3dff --- /dev/null +++ b/msd/msd2D/Makefile.am @@ -0,0 +1,51 @@ +# +# automake template +# added by tim blechmann +# + +NAME = msd2 + +BUILT_SOURCES = main.cpp + +EXTRA_DIST = main.cpp \ + $(NAME).mcp \ + $(NAME).vcproj + +CXXFLAGS = @CXXFLAGS@ \ + @OPT_FLAGS@ \ + @INCLUDEDIR@ \ + -I../../source \ + $(DEFS) \ + -DFLEXT_SHARED + +LDFLAGS = @DYNAMIC_LDFLAGS@ @LDFLAGS@ \ + $(patsubst %,-framework %,$(FRAMEWORKS)) + +LIBS = @LIBS@ -lflext-pd + +FRAMEWORKS = @FRAMEWORKS@ + +TARGETDIR = @TARGETDIR@ + +TARGET =$(NAME).@EXTENSION@ + +OBJECTS = $(patsubst %.cpp,./%.@OBJEXT@,$(BUILT_SOURCES)) + +SYSDIR = @SYSDIR@ + + +# ----------------------------- targets -------------------------------- + +all-local: $(OBJECTS) + $(CXX) $(LDFLAGS) ./*.@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 |