diff options
author | N.N. <nimon@users.sourceforge.net> | 2010-09-09 09:12:09 +0000 |
---|---|---|
committer | N.N. <nimon@users.sourceforge.net> | 2010-09-09 09:12:09 +0000 |
commit | a37353ab3ae1ecd468280a9aad2555177714dbcb (patch) | |
tree | ab6ea4f4d20bac849daeecba88874db6385213c4 /msd1D/Makefile.am | |
parent | 0babf7fa297f26f72bfe5ea97ef69a80e120f2e8 (diff) |
svn path=/trunk/externals/nusmuk/; revision=14013
Diffstat (limited to 'msd1D/Makefile.am')
-rw-r--r-- | msd1D/Makefile.am | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/msd1D/Makefile.am b/msd1D/Makefile.am new file mode 100644 index 0000000..59a3dff --- /dev/null +++ b/msd1D/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 |