Makefile: splitted for osx/linux/mingw32
[vamp-aubio-plugins.git] / Makefile
diff --git a/Makefile b/Makefile
deleted file mode 100644 (file)
index 5b36a09..0000000
--- a/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-
-# Location of our plugins
-#
-PLUGINDIR      = plugins
-
-# Compile flags
-#
-CFLAGS         := -fPIC -DDEBUG -O2 -Wall $(CFLAGS)
-CXXFLAGS       := $(CFLAGS)
-LDFLAGS        := -laubio $(LDFLAGS)
-
-# Libraries required for the plugins.
-#
-PLUGIN_LIBS    = -Wl,-Bstatic -lvamp-sdk -Wl,-Bdynamic
-
-# Flags required to tell the compiler to make a dynamically loadable object
-#
-PLUGIN_LDFLAGS = -shared -Wl,-Bsymbolic -Wl,--version-script=vamp-plugin.map
-
-# File extension for a dynamically loadable object
-#
-PLUGIN_EXT     = .so
-
-## For OS/X with g++:
-#PLUGIN_LDFLAGS        = -dynamiclib -exported_symbols_list=vamp-plugin.list
-#PLUGIN_EXT    = .dylib
-
-
-### End of user-serviceable parts
-
-PLUGIN_OBJECTS = libmain.o $(patsubst %.cpp,%.o,$(wildcard $(PLUGINDIR)/*.cpp))
-PLUGIN_HEADERS = $(patsubst %.cpp,%.h,$(wildcard $(PLUGINDIR)/*.cpp))
-PLUGIN_TARGET  = vamp-aubio$(PLUGIN_EXT)
-
-all:           $(PLUGIN_TARGET)
-
-$(PLUGIN_TARGET):      $(PLUGIN_OBJECTS) $(PLUGIN_HEADERS)
-               $(CXX) $(LDFLAGS) $(PLUGIN_LDFLAGS) -o $@ $(PLUGIN_OBJECTS) $(PLUGIN_LIBS)
-
-clean:         
-               rm -f $(PLUGIN_OBJECTS)
-
-distclean:     clean
-               rm -f $(PLUGIN_TARGET) *~ */*~
-
-