Mercurial > mplayer.hg
annotate libass/Makefile @ 21213:0c68d02f437c
SRCS should be one per line to make patches more readable.
author | diego |
---|---|
date | Sat, 25 Nov 2006 17:06:08 +0000 |
parents | 0cb72a86e85f |
children | 92b122592776 |
rev | line source |
---|---|
18937 | 1 |
2 include ../config.mak | |
3 | |
4 LIBNAME=libass.a | |
5 | |
21213
0c68d02f437c
SRCS should be one per line to make patches more readable.
diego
parents:
21211
diff
changeset
|
6 SRCS = ass.c \ |
0c68d02f437c
SRCS should be one per line to make patches more readable.
diego
parents:
21211
diff
changeset
|
7 ass_cache.c \ |
0c68d02f437c
SRCS should be one per line to make patches more readable.
diego
parents:
21211
diff
changeset
|
8 ass_fontconfig.c \ |
0c68d02f437c
SRCS should be one per line to make patches more readable.
diego
parents:
21211
diff
changeset
|
9 ass_render.c \ |
0c68d02f437c
SRCS should be one per line to make patches more readable.
diego
parents:
21211
diff
changeset
|
10 ass_utils.c \ |
0c68d02f437c
SRCS should be one per line to make patches more readable.
diego
parents:
21211
diff
changeset
|
11 ass_mp.c \ |
0c68d02f437c
SRCS should be one per line to make patches more readable.
diego
parents:
21211
diff
changeset
|
12 ass_bitmap.c \ |
0c68d02f437c
SRCS should be one per line to make patches more readable.
diego
parents:
21211
diff
changeset
|
13 ass_library.c \ |
18937 | 14 |
15 OBJS=$(SRCS:.c=.o) | |
16 | |
19420
4f71ed7cb512
Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents:
19190
diff
changeset
|
17 CFLAGS = -I. -I.. \ |
18937 | 18 -I../libmpcodecs \ |
19420
4f71ed7cb512
Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents:
19190
diff
changeset
|
19 $(OPTFLAGS) \ |
18937 | 20 -D_GNU_SOURCE \ |
21 | |
22 .SUFFIXES: .c .o | |
23 | |
24 # .PHONY: all clean | |
25 | |
26 .c.o: | |
27 $(CC) -c $(CFLAGS) -o $@ $< | |
28 | |
21211 | 29 all: $(LIBNAME) |
18937 | 30 |
31 $(LIBNAME): $(OBJS) | |
32 $(AR) r $(LIBNAME) $(OBJS) | |
33 $(RANLIB) $(LIBNAME) | |
34 | |
35 clean: | |
36 rm -f *.o *.a *~ | |
37 | |
38 distclean: clean | |
39 rm -f .depend | |
40 | |
21080 | 41 dep depend: |
18937 | 42 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
43 | |
44 ifneq ($(wildcard .depend),) | |
45 include .depend | |
46 endif | |
47 |