Mercurial > mplayer.hg
annotate libao2/Makefile @ 3894:5f7f8994137e
divx4encore is detected
author | arpi |
---|---|
date | Sun, 30 Dec 2001 13:20:55 +0000 |
parents | 5f5189ac6a41 |
children | c72b386debb4 |
rev | line source |
---|---|
954 | 1 |
966
69b4f944ce08
Added support for sdl audio out (buggy pre-alpha).
atmosfear
parents:
954
diff
changeset
|
2 include config.mak |
954 | 3 |
1013
74d55f3c4680
libao->libao2 because of conflict with OMS's libao
arpi_esp
parents:
1010
diff
changeset
|
4 LIBNAME = libao2.a |
954 | 5 |
966
69b4f944ce08
Added support for sdl audio out (buggy pre-alpha).
atmosfear
parents:
954
diff
changeset
|
6 # TODO: moveout ao_sdl.c so it's only used when SDL is detected |
3631
5f5189ac6a41
Added plugin for fractional resampling (alpha code)
anders
parents:
3484
diff
changeset
|
7 SRCS=afmt.c audio_out.c ao_mpegpes.c ao_null.c ao_pcm.c ao_plugin.c pl_delay.c pl_format.c pl_surround.c remez.c pl_resample.c $(OPTIONAL_SRCS) |
5f5189ac6a41
Added plugin for fractional resampling (alpha code)
anders
parents:
3484
diff
changeset
|
8 |
954 | 9 OBJS=$(SRCS:.c=.o) |
10 | |
3283
73de2c85844d
FreeBSD install nas* to /usr/X11 by default (and require -lm)
nexus
parents:
3194
diff
changeset
|
11 CFLAGS = $(OPTFLAGS) -I. -I.. $(SDL_INC) $(X11_INC) $(EXTRA_INC) |
954 | 12 |
13 .SUFFIXES: .c .o | |
14 | |
15 # .PHONY: all clean | |
16 | |
17 .c.o: | |
18 $(CC) -c $(CFLAGS) -o $@ $< | |
19 | |
1010 | 20 $(LIBNAME): $(OBJS) |
954 | 21 $(AR) r $(LIBNAME) $(OBJS) |
22 | |
23 all: $(LIBNAME) | |
24 | |
25 clean: | |
26 rm -f *.o *.a *~ | |
27 | |
28 distclean: | |
29 rm -f Makefile.bak *.o *.a *~ .depend | |
30 | |
31 dep: depend | |
32 | |
1010 | 33 depend: |
954 | 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 | |
3095 | 42 |