view playsound/Makefile.am @ 517:0f5888f9aef7 stable-1.0

Fixed bogus memory deference when SMPEG fails init (thanks, Chris!).
author Ryan C. Gordon <icculus@icculus.org>
date Sun, 29 Oct 2006 07:14:48 +0000
parents 1b91006ebfef
children
line wrap: on
line source

bin_PROGRAMS = playsound playsound_simple

INCLUDES = -I$(top_srcdir)

if USE_PHYSICSFS
PHYSFS_CFLG = -DSUPPORT_PHYSFS=1
PHYSFS_LIBS = -lphysfs
else
PHYSFS_CFLG =
PHYSFS_SRCS =
PHYSFS_LIBS =
endif

playsound_CFLAGS = $(PHYSFS_CFLG)
playsound_LDADD = ../libSDL_sound.la $(PHYSFS_LIBS)
playsound_SOURCES = playsound.c physfsrwops.c physfsrwops.h

playsound_simple_LDADD = ../libSDL_sound.la
playsound_simple_SOURCES = playsound_simple.c