diff src/voice_removal/Makefile @ 1823:37d1f20643d2

voice_removal: Mk2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 13:19:05 -0500
parents 550c9e382cf8
children eed7c270e8dd
line wrap: on
line diff
--- a/src/voice_removal/Makefile	Mon Sep 24 13:18:22 2007 -0500
+++ b/src/voice_removal/Makefile	Mon Sep 24 13:19:05 2007 -0500
@@ -1,16 +1,11 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+PLUGIN = voice_removal${PLUGIN_SUFFIX}
+SRCS = voice_removal.c
 
-OBJECTIVE_LIBS = libvoice_removal$(SHARED_SUFFIX)
-
-LIBDIR = $(plugindir)/$(EFFECT_PLUGIN_DIR)
+plugindir = audacious/${EFFECT_PLUGIN_DIR}
 
-LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
-
-SOURCES = voice_removal.c
+include ../../buildsys.mk
+include ../../extra.mk
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../../intl -I../..
-
-OBJECTS = ${SOURCES:.c=.o}
-
-include ../../mk/objective.mk
+CPPFLAGS += ${PLUGIN_CPPFLAGS} ${MOWGLI_CFLAGS} ${GTK_CFLAGS} ${GLIB_CFLAGS} ${PANGO_CFLAGS} -I../../intl -I../..
+CFLAGS += ${PLUGIN_CFLAGS}
+LIBADD = ${GTK_LIBS} ${GLIB_LIBS} ${PANGO_LIBS}