Mercurial > mplayer.hg
comparison libass/Makefile @ 21259:92b122592776
Merge common parts of all Makefiles into one file included by all.
author | diego |
---|---|
date | Sun, 26 Nov 2006 18:12:36 +0000 |
parents | 0c68d02f437c |
children | 0603972f083c |
comparison
equal
deleted
inserted
replaced
21258:ed01090d1192 | 21259:92b122592776 |
---|---|
10 ass_utils.c \ | 10 ass_utils.c \ |
11 ass_mp.c \ | 11 ass_mp.c \ |
12 ass_bitmap.c \ | 12 ass_bitmap.c \ |
13 ass_library.c \ | 13 ass_library.c \ |
14 | 14 |
15 OBJS=$(SRCS:.c=.o) | 15 CFLAGS = -I../libmpcodecs -D_GNU_SOURCE |
16 | 16 |
17 CFLAGS = -I. -I.. \ | 17 include ../mpcommon.mak |
18 -I../libmpcodecs \ | |
19 $(OPTFLAGS) \ | |
20 -D_GNU_SOURCE \ | |
21 | |
22 .SUFFIXES: .c .o | |
23 | |
24 # .PHONY: all clean | |
25 | |
26 .c.o: | |
27 $(CC) -c $(CFLAGS) -o $@ $< | |
28 | |
29 all: $(LIBNAME) | |
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 | |
41 dep depend: | |
42 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
43 | |
44 ifneq ($(wildcard .depend),) | |
45 include .depend | |
46 endif | |
47 |