Mercurial > mplayer.hg
annotate libao2/Makefile @ 6188:39a9515c633a
warning fixes, patch by Ulrich Hecht <uli@suse.de>
author | arpi |
---|---|
date | Sat, 25 May 2002 13:22:28 +0000 |
parents | 10a30eebafaf |
children | 0398cb49fe5e |
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 | |
6074
10a30eebafaf
Applied patch from Tobias Diedrich <ranma@gmx.at>, added volume setting
albeu
parents:
5487
diff
changeset
|
11 CFLAGS = $(OPTFLAGS) -I. -I.. $(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 |