Mercurial > mplayer.hg
comparison libao2/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 | 68df3b19a160 |
children | 8bcff5c7e387 |
comparison
equal
deleted
inserted
replaced
21258:ed01090d1192 | 21259:92b122592776 |
---|---|
6 ao_mpegpes.c \ | 6 ao_mpegpes.c \ |
7 ao_null.c \ | 7 ao_null.c \ |
8 ao_pcm.c \ | 8 ao_pcm.c \ |
9 $(AO_SRCS) \ | 9 $(AO_SRCS) \ |
10 | 10 |
11 OBJS=$(SRCS:.c=.o) | 11 include ../mpcommon.mak |
12 | |
13 CFLAGS = -I. -I.. $(OPTFLAGS) | |
14 | |
15 .SUFFIXES: .c .o | |
16 | |
17 # .PHONY: all clean | |
18 | |
19 .c.o: | |
20 $(CC) -c $(CFLAGS) -o $@ $< | |
21 | |
22 $(LIBNAME): $(OBJS) | |
23 $(AR) r $(LIBNAME) $(OBJS) | |
24 $(RANLIB) $(LIBNAME) | |
25 | |
26 all: $(LIBNAME) | |
27 | |
28 clean: | |
29 rm -f *.o *.a *~ | |
30 | |
31 distclean: clean | |
32 rm -f .depend | |
33 | |
34 dep depend: | |
35 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
36 | |
37 ifneq ($(wildcard .depend),) | |
38 include .depend | |
39 endif |