Mercurial > mplayer.hg
annotate libass/Makefile @ 21211:0cb72a86e85f
Remove pointless indirection.
author | diego |
---|---|
date | Sat, 25 Nov 2006 17:02:52 +0000 |
parents | 68df3b19a160 |
children | 0c68d02f437c |
rev | line source |
---|---|
18937 | 1 |
2 include ../config.mak | |
3 | |
4 LIBNAME=libass.a | |
5 | |
20477 | 6 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 | 7 |
8 OBJS=$(SRCS:.c=.o) | |
9 | |
19420
4f71ed7cb512
Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents:
19190
diff
changeset
|
10 CFLAGS = -I. -I.. \ |
18937 | 11 -I../libmpcodecs \ |
19420
4f71ed7cb512
Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents:
19190
diff
changeset
|
12 $(OPTFLAGS) \ |
18937 | 13 -D_GNU_SOURCE \ |
14 | |
15 .SUFFIXES: .c .o | |
16 | |
17 # .PHONY: all clean | |
18 | |
19 .c.o: | |
20 $(CC) -c $(CFLAGS) -o $@ $< | |
21 | |
21211 | 22 all: $(LIBNAME) |
18937 | 23 |
24 $(LIBNAME): $(OBJS) | |
25 $(AR) r $(LIBNAME) $(OBJS) | |
26 $(RANLIB) $(LIBNAME) | |
27 | |
28 clean: | |
29 rm -f *.o *.a *~ | |
30 | |
31 distclean: clean | |
32 rm -f .depend | |
33 | |
21080 | 34 dep depend: |
18937 | 35 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
36 | |
37 ifneq ($(wildcard .depend),) | |
38 include .depend | |
39 endif | |
40 |