changeset 1774:126bd42ca8a7

metronom: Mk2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 11:24:41 -0500
parents 41e3a7272bfc
children c78a88954801
files src/metronom/Makefile
diffstat 1 files changed, 8 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/src/metronom/Makefile	Mon Sep 24 11:23:49 2007 -0500
+++ b/src/metronom/Makefile	Mon Sep 24 11:24:41 2007 -0500
@@ -1,15 +1,12 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+include ../../extra.mk
 
-OBJECTIVE_LIBS = libmetronom$(SHARED_SUFFIX)
-
-LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
-LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
+PLUGIN = metronom$(SHARED_SUFFIX)
+plugindir = audacious/$(INPUT_PLUGIN_DIR)
 
-SOURCES = metronom.c
+SRCS = metronom.c
 
-OBJECTS = ${SOURCES:.c=.o}
+include ../../buildsys.mk
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../../intl -I../..
-
-include ../../mk/objective.mk
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../.. -Wall
+CPPFLAGS = $(CFLAGS)
+LIBS += $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)