Mercurial > mplayer.hg
annotate libao2/Makefile @ 8228:59e01995144c
Finally add the correct compile flags for SDL under cygwin automatically.
Patch by Sycotic Smith <sycotic@linuxmail.org> and me.
author | diego |
---|---|
date | Mon, 18 Nov 2002 01:02:27 +0000 |
parents | 97857ca97a8f |
children | 6690cdc35a08 |
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 |
6430 | 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 pl_eq.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 | |
6214
0398cb49fe5e
aRts audio out support by Michele Balistreri <brain at email.it>
atmos4
parents:
6074
diff
changeset
|
11 CFLAGS = $(OPTFLAGS) -I. -I.. $(ARTS_INC) $(SDL_INC) $(X11_INC) $(EXTRA_INC) $(DXR2_INC) $(DVB_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 |