Mercurial > mplayer.hg
annotate libass/Makefile @ 20771:1e78e35b6c7b
Change value used to indicate "unknown audio format" from 0 to -1.
0 collided with a valid format value.
author | uau |
---|---|
date | Wed, 08 Nov 2006 18:31:04 +0000 |
parents | de4a66d99f41 |
children | 618d1857f4c4 |
rev | line source |
---|---|
18937 | 1 |
2 include ../config.mak | |
3 | |
4 LIBNAME=libass.a | |
5 | |
6 LIBS=$(LIBNAME) | |
7 | |
20477 | 8 SRCS=ass.c ass_cache.c ass_fontconfig.c ass_render.c ass_utils.c ass_mp.c ass_bitmap.c ass_library.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 |