Mercurial > mplayer.hg
comparison libao2/Makefile @ 954:db20b90dd34d
audio out drivers
author | arpi_esp |
---|---|
date | Sat, 02 Jun 2001 23:25:43 +0000 |
parents | |
children | 69b4f944ce08 |
comparison
equal
deleted
inserted
replaced
953:829c68d63262 | 954:db20b90dd34d |
---|---|
1 | |
2 include ../config.mak | |
3 | |
4 LIBNAME = libao.a | |
5 | |
6 SRCS=audio_out.c ao_oss.c ao_null.c | |
7 OBJS=$(SRCS:.c=.o) | |
8 | |
9 CFLAGS = $(OPTFLAGS) -I. -I.. | |
10 # -I/usr/X11R6/include/ | |
11 | |
12 .SUFFIXES: .c .o | |
13 | |
14 # .PHONY: all clean | |
15 | |
16 .c.o: | |
17 $(CC) -c $(CFLAGS) -o $@ $< | |
18 | |
19 $(LIBNAME): .depend $(OBJS) | |
20 $(AR) r $(LIBNAME) $(OBJS) | |
21 | |
22 all: $(LIBNAME) | |
23 | |
24 clean: | |
25 rm -f *.o *.a *~ | |
26 | |
27 distclean: | |
28 rm -f Makefile.bak *.o *.a *~ .depend | |
29 | |
30 dep: depend | |
31 depend: .depend | |
32 | |
33 .depend: Makefile ../config.mak ../config.h | |
34 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
35 | |
36 # | |
37 # include dependency files if they exist | |
38 # | |
39 ifneq ($(wildcard .depend),) | |
40 include .depend | |
41 endif |