annotate music2/Makefile.in @ 9:b6d6c0ffb423

Fixed some memory leaks
author thib
date Tue, 05 Aug 2008 13:24:20 +0000
parents 223b71206888
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
223b71206888 Initial import
thib
parents:
diff changeset
1 # Linux でPCMのドライバとして OSS を使用する場合、は -DUSE_OSS が必要
223b71206888 Initial import
thib
parents:
diff changeset
2
223b71206888 Initial import
thib
parents:
diff changeset
3 # OSS 以外にも ALSA(Advanced Linux Sound Architecture) と ESD(Enligtenment Sound Daemon)も
223b71206888 Initial import
thib
parents:
diff changeset
4 # 動くと思われるが、未テスト。その辺についてはxsystem35 の README.music を参照。
223b71206888 Initial import
thib
parents:
diff changeset
5
223b71206888 Initial import
thib
parents:
diff changeset
6 CFLAGS= -I.. $(LOCAL_DEF) @CFLAGS@ @DEFS@ @SDL_CFLAGS@ -pthread -O2 # -ggdb -O0
223b71206888 Initial import
thib
parents:
diff changeset
7 CXXFLAGS = $(CFLAGS)
223b71206888 Initial import
thib
parents:
diff changeset
8
223b71206888 Initial import
thib
parents:
diff changeset
9 @SET_MAKE@
223b71206888 Initial import
thib
parents:
diff changeset
10 CC = @CC@
223b71206888 Initial import
thib
parents:
diff changeset
11 CXX = @CXX@
223b71206888 Initial import
thib
parents:
diff changeset
12 LD = @CXX@
223b71206888 Initial import
thib
parents:
diff changeset
13 AR = ar
223b71206888 Initial import
thib
parents:
diff changeset
14 RANLIB = @RANLIB@
223b71206888 Initial import
thib
parents:
diff changeset
15
223b71206888 Initial import
thib
parents:
diff changeset
16 all: libmusic.a nwatowav
223b71206888 Initial import
thib
parents:
diff changeset
17
223b71206888 Initial import
thib
parents:
diff changeset
18 @AUDIO_IO@.o: @AUDIO_IO@.c @ALSAMIX_H@
223b71206888 Initial import
thib
parents:
diff changeset
19
223b71206888 Initial import
thib
parents:
diff changeset
20 libmusic.a: config.h music.o koedec.o koedec_ogg.o wavfile.o movie.o nwatowav.o
223b71206888 Initial import
thib
parents:
diff changeset
21 rm -f libmusic.a
223b71206888 Initial import
thib
parents:
diff changeset
22 $(AR) clq libmusic.a music.o koedec.o koedec_ogg.o wavfile.o movie.o nwatowav.o
223b71206888 Initial import
thib
parents:
diff changeset
23 $(RANLIB) libmusic.a
223b71206888 Initial import
thib
parents:
diff changeset
24
223b71206888 Initial import
thib
parents:
diff changeset
25 nwatowav: nwatowav.cc
223b71206888 Initial import
thib
parents:
diff changeset
26 $(LD) -o nwatowav -DUSE_MAIN nwatowav.cc
223b71206888 Initial import
thib
parents:
diff changeset
27
223b71206888 Initial import
thib
parents:
diff changeset
28 config.h:
223b71206888 Initial import
thib
parents:
diff changeset
29 ln -s ../config.h .
223b71206888 Initial import
thib
parents:
diff changeset
30
223b71206888 Initial import
thib
parents:
diff changeset
31 clean:
223b71206888 Initial import
thib
parents:
diff changeset
32 rm -f *.o *.a *.core *.bak config.h nwatowav
223b71206888 Initial import
thib
parents:
diff changeset
33