Develop and Download Open Source Software

Browse Subversion Repository

Contents of /sound/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 302 - (show annotations) (download)
Tue Mar 25 22:35:24 2008 UTC (16 years ago) by satofumi
File size: 1332 byte(s)
add CdromPlayer.cpp
1 # Makefile for libs/sound
2 # Satofumi KAMIMURA
3 # $Id$
4
5 # Compile options
6 CXXFLAGS = -g -O0 -Wall -Werror ${INCLUDES} `sdl-config --cflags`
7 INCLUDES = -I../common
8 LDFLAGS =
9 LDLIBS =
10
11 # Target
12 SOUND_LIB = sound.a
13 TARGET = ${SOUND_LIB}
14
15 all : ${TARGET}
16
17 clean :
18 ${RM} *.o ${TARGET}
19 cd samples/ && ${MAKE} clean
20
21 depend :
22 makedepend -Y -- ${INCLUDES} -- ${wildcard *.h *.cpp}
23
24 .PHONY : all clean depend test
25 ######################################################################
26 ${SOUND_LIB} : \
27 ${SOUND_LIB}(SdlAudioInit.o) \
28 ${SOUND_LIB}(MixerInit.o) \
29 ${SOUND_LIB}(SoundEffectManager.o) \
30 ${SOUND_LIB}(MusicManager.o) \
31 ${SOUND_LIB}(SdlCdromInit.o) \
32 ${SOUND_LIB}(CdromPlayer.o)
33
34 REQUIRE_LIBS = ${SOUND_LIB}
35 ${REQUIRE_LIBS} :
36 cd ${@D}/ && ${MAKE} ${@F}
37
38 # DO NOT DELETE
39
40 CdromPlayer.o: SdlCdromInit.h
41 CdromPlayer.o: CdromPlayer.h SdlCdromInit.h
42 MixerInit.o: MixerInit.h SdlAudioInit.h ../common/LogManager.h
43 MusicManager.o: MusicManager.h MixerInit.h ../common/ThreadCreator.h
44 MusicManager.o: ../common/LockGuard.h ../common/ExistFile.h ../common/Delay.h
45 SdlAudioInit.o: SdlAudioInit.h ../common/SdlInit.h ../common/LogManager.h
46 SdlCdromInit.o: SdlCdromInit.h ../common/SdlInit.h ../common/LogManager.h
47 SoundEffectManager.o: SoundEffectManager.h MixerInit.h ../common/LockGuard.h
48 SoundEffectManager.o: ../common/ExistFile.h

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26