Mercurial > mplayer.hg
annotate libass/Makefile @ 20285:9ec1f7cffb3e
more updates on chinese translation
patch by Sheldon Jin (jinsh2 yahoo com)
author | kraymer |
---|---|
date | Wed, 18 Oct 2006 00:29:41 +0000 |
parents | bcc792bfa431 |
children | de4a66d99f41 |
rev | line source |
---|---|
18937 | 1 |
2 include ../config.mak | |
3 | |
4 LIBNAME=libass.a | |
5 | |
6 LIBS=$(LIBNAME) | |
7 | |
19846
bcc792bfa431
Store bitmap glyphs in a separate struct, instead of FreeType's internal buffer.
eugeni
parents:
19420
diff
changeset
|
8 SRCS=ass.c ass_cache.c ass_fontconfig.c ass_render.c ass_utils.c ass_mp.c ass_bitmap.c |
18937 | 9 |
10 OBJS=$(SRCS:.c=.o) | |
11 | |
19420
4f71ed7cb512
Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents:
19190
diff
changeset
|
12 CFLAGS = -I. -I.. \ |
18937 | 13 -I../libmpcodecs \ |
19420
4f71ed7cb512
Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents:
19190
diff
changeset
|
14 $(OPTFLAGS) \ |
18937 | 15 -D_GNU_SOURCE \ |
16 | |
17 .SUFFIXES: .c .o | |
18 | |
19 # .PHONY: all clean | |
20 | |
21 .c.o: | |
22 $(CC) -c $(CFLAGS) -o $@ $< | |
23 | |
24 all: $(LIBS) | |
25 | |
26 $(LIBNAME): $(OBJS) | |
27 $(AR) r $(LIBNAME) $(OBJS) | |
28 $(RANLIB) $(LIBNAME) | |
29 | |
30 clean: | |
31 rm -f *.o *.a *~ | |
32 | |
33 distclean: clean | |
34 rm -f .depend | |
35 | |
36 dep: depend | |
37 | |
38 depend: | |
39 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
40 | |
41 # | |
42 # include dependency files if they exist | |
43 # | |
44 ifneq ($(wildcard .depend),) | |
45 include .depend | |
46 endif | |
47 |