annotate Makefile.in @ 7:fa8511a21d05

Fixes somes memory leaks
author thib
date Tue, 05 Aug 2008 10:06:04 +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 @SET_MAKE@
223b71206888 Initial import
thib
parents:
diff changeset
2 CC = @CC@
223b71206888 Initial import
thib
parents:
diff changeset
3 CXX = @CXX@
223b71206888 Initial import
thib
parents:
diff changeset
4 LD = @CXX@
223b71206888 Initial import
thib
parents:
diff changeset
5 RANLIB = @RANLIB@
223b71206888 Initial import
thib
parents:
diff changeset
6
223b71206888 Initial import
thib
parents:
diff changeset
7 CFLAGS= -I. $(LOCAL_DEF) @CFLAGS@ @DEFS@ @SDL_CFLAGS@ @SMPEG_CFLAGS@ @FT2_CFLAGS@ @X_CFLAGS@ -pthread -O2
223b71206888 Initial import
thib
parents:
diff changeset
8 CXXFLAGS = $(CFLAGS)
223b71206888 Initial import
thib
parents:
diff changeset
9 LDFLAGS = @LDFLAGS@ @FT2_LIBS@ @SDL_LIBS@ -lSDL_mixer @SMPEG_LIBS@ @X_LIBS@ @LIBS@ -pthread
223b71206888 Initial import
thib
parents:
diff changeset
10
223b71206888 Initial import
thib
parents:
diff changeset
11 SRCS = xlovesys.cc
223b71206888 Initial import
thib
parents:
diff changeset
12
223b71206888 Initial import
thib
parents:
diff changeset
13 OBJS = ${SRCS:.cc=.o}
223b71206888 Initial import
thib
parents:
diff changeset
14
223b71206888 Initial import
thib
parents:
diff changeset
15 all: xclannad
223b71206888 Initial import
thib
parents:
diff changeset
16
223b71206888 Initial import
thib
parents:
diff changeset
17 xclannad: xlovesys.o system/libsystem.a scn2k/libscn2k.a window/libwindow.a font/libfont.a music2/libmusic.a
223b71206888 Initial import
thib
parents:
diff changeset
18 $(LD) -o xclannad xlovesys.o system/libsystem.a scn2k/libscn2k.a window/libwindow.a font/libfont.a music2/libmusic.a $(LDFLAGS)
223b71206888 Initial import
thib
parents:
diff changeset
19
223b71206888 Initial import
thib
parents:
diff changeset
20 install: xclannad music2/nwatowav
223b71206888 Initial import
thib
parents:
diff changeset
21 mkdir -p /usr/local/bin
223b71206888 Initial import
thib
parents:
diff changeset
22 cp xclannad music2/nwatowav /usr/local/bin
223b71206888 Initial import
thib
parents:
diff changeset
23
223b71206888 Initial import
thib
parents:
diff changeset
24 clean:
223b71206888 Initial import
thib
parents:
diff changeset
25 rm -f xclannad xlovesys ${OBJS} *.bak
223b71206888 Initial import
thib
parents:
diff changeset
26 (cd font && $(MAKE) clean);
223b71206888 Initial import
thib
parents:
diff changeset
27 (cd system && $(MAKE) clean);
223b71206888 Initial import
thib
parents:
diff changeset
28 (cd window && $(MAKE) clean);
223b71206888 Initial import
thib
parents:
diff changeset
29 (cd music2 && $(MAKE) clean);
223b71206888 Initial import
thib
parents:
diff changeset
30 (cd scn2k && $(MAKE) clean);
223b71206888 Initial import
thib
parents:
diff changeset
31
223b71206888 Initial import
thib
parents:
diff changeset
32 music2/nwatowav:
223b71206888 Initial import
thib
parents:
diff changeset
33 (cd music2 && $(MAKE) nwatowav);
223b71206888 Initial import
thib
parents:
diff changeset
34
223b71206888 Initial import
thib
parents:
diff changeset
35 .c.o:
223b71206888 Initial import
thib
parents:
diff changeset
36 $(CC) -c $(CFLAGS) -o $@ $<
223b71206888 Initial import
thib
parents:
diff changeset
37
223b71206888 Initial import
thib
parents:
diff changeset
38 .cc.o:
223b71206888 Initial import
thib
parents:
diff changeset
39 $(CXX) -c $(CFLAGS) -o $@ $<
223b71206888 Initial import
thib
parents:
diff changeset
40
223b71206888 Initial import
thib
parents:
diff changeset
41 font/libfont.a: FORCE
223b71206888 Initial import
thib
parents:
diff changeset
42 cd font && $(MAKE) libfont.a
223b71206888 Initial import
thib
parents:
diff changeset
43
223b71206888 Initial import
thib
parents:
diff changeset
44 system/libsystem.a: FORCE
223b71206888 Initial import
thib
parents:
diff changeset
45 cd system && $(MAKE) libsystem.a
223b71206888 Initial import
thib
parents:
diff changeset
46
223b71206888 Initial import
thib
parents:
diff changeset
47 scn2k/libscn2k.a: FORCE
223b71206888 Initial import
thib
parents:
diff changeset
48 cd scn2k && $(MAKE) libscn2k.a
223b71206888 Initial import
thib
parents:
diff changeset
49
223b71206888 Initial import
thib
parents:
diff changeset
50 window/libwindow.a: FORCE
223b71206888 Initial import
thib
parents:
diff changeset
51 cd window && $(MAKE) libwindow.a
223b71206888 Initial import
thib
parents:
diff changeset
52
223b71206888 Initial import
thib
parents:
diff changeset
53 music2/libmusic.a: FORCE
223b71206888 Initial import
thib
parents:
diff changeset
54 cd music2 && $(MAKE) libmusic.a
223b71206888 Initial import
thib
parents:
diff changeset
55
223b71206888 Initial import
thib
parents:
diff changeset
56 FORCE:
223b71206888 Initial import
thib
parents:
diff changeset
57