diff src/sexypsf/Makefile @ 1882:eed7c270e8dd

Fix MILLIONS of Makefiles.
author Jonathan Schleifer <js@h3c.de>
date Wed, 26 Sep 2007 14:53:37 +0200
parents c3fdb0e5a306
children a56a26a5f233
line wrap: on
line diff
--- a/src/sexypsf/Makefile	Wed Sep 26 06:38:56 2007 +0200
+++ b/src/sexypsf/Makefile	Wed Sep 26 14:53:37 2007 +0200
@@ -1,28 +1,22 @@
+PLUGIN = sexypsf${PLUGIN_SUFFIX}
+SRCS = PsxBios.c 	\
+       PsxCounters.c	\
+       PsxDma.c		\
+       Spu.c		\
+       PsxMem.c		\
+       PsxHw.c		\
+       Misc.c		\
+       R3000A.c		\
+       PsxInterpreter.c	\
+       PsxHLE.c		\
+       spu/spu.c	\
+       plugin.c
+
+plugindir = audacious/${INPUT_PLUGIN_DIR}
+
+include ../../buildsys.mk
 include ../../extra.mk
 
-PLUGIN = sexypsf$(PLUGIN_SUFFIX)
-plugindir = audacious/$(INPUT_PLUGIN_DIR)
-
-SRCS = \
-	PsxBios.c \
-	PsxCounters.c \
-	PsxDma.c \
-	Spu.c \
-	PsxMem.c \
-	PsxHw.c \
-	Misc.c \
-	R3000A.c \
-	PsxInterpreter.c \
-	PsxHLE.c \
-	spu/spu.c \
-	plugin.c
-
-LIBS += -lz $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
-
-include ../../buildsys.mk
-
-CPPFLAGS += $(MOWGLI_CFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../../intl -I../.. -Ispu/ -I.
-CFLAGS += $(PLUGIN_CFLAGS)
-
-clean-posthook:
-	@rm -f spu/*.o
+CPPFLAGS += ${PLUGIN_CPPFLAGS} ${MOWGLI_CFLAGS} ${GTK_CFLAGS} ${GLIB_CFLAGS} ${PANGO_CFLAGS} -I../../intl -I../.. -Ispu/ -I.
+CFLAGS += ${PLUGIN_CFLAGS}
+LIBS += -lz ${GTK_LIBS} ${GLIB_LIBS} ${PANGO_LIBS}