Mercurial > mplayer.hg
annotate libao2/Makefile @ 5230:0a56406fb224
-oldpp info fixed
author | gabucino |
---|---|
date | Wed, 20 Mar 2002 20:25:44 +0000 |
parents | 9a468a190c4c |
children | 2bff5d1138fa |
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 |
4941 | 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 pl_volume.c pl_extrastereo.c pl_volnorm.c $(OPTIONAL_SRCS) |
3631
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 |