Mercurial > mplayer.hg
annotate libass/Makefile @ 21129:2ba65302eb17
Fix SVN r21075, it completely disabled OpenGL in almost all cases.
author | reimar |
---|---|
date | Tue, 21 Nov 2006 17:36:39 +0000 |
parents | 618d1857f4c4 |
children | 68df3b19a160 |
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 | |
21080 | 36 dep depend: |
18937 | 37 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
38 | |
39 # | |
40 # include dependency files if they exist | |
41 # | |
42 ifneq ($(wildcard .depend),) | |
43 include .depend | |
44 endif | |
45 |