view src/sexypsf/Makefile @ 387:0c50f248ed10 trunk

[svn] - added AUDACIOUS_LIBS and AUDACIOUS_CFLAGS to makefiles to ensure that plugins are linked to libaudacious
author giacomo
date Sun, 17 Dec 2006 07:06:34 -0800
parents cf1054422f81
children ad8e44bcdf8a
line wrap: on
line source

include ../../mk/rules.mk
include ../../mk/init.mk

OBJECTIVE_LIBS = libsexypsf$(SHARED_SUFFIX)

LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)

SOURCES = \
	PsxBios.c \
	PsxCounters.c \
	PsxDma.c \
	Spu.c \
	PsxMem.c \
	PsxHw.c \
	Misc.c \
	R3000A.c \
	PsxInterpreter.c \
	PsxHLE.c \
	spu/spu.c \
	xmms.c

LIBADD = -lz $(AUDACIOUS_LIBS)

OBJECTS = ${SOURCES:.c=.o}

CFLAGS += -Wno-nonnull $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I../../intl -I../.. -Ispu/ -I.

include ../../mk/objective.mk

clean-posthook:
	@rm -f spu/*.o