Mercurial > mplayer.hg
annotate libao2/Makefile @ 8694:79c0205ab4b5
sending 10l to Filip
author | attila |
---|---|
date | Wed, 01 Jan 2003 14:16:02 +0000 |
parents | 6690cdc35a08 |
children | f2725d6717bd |
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 | |
8574
6690cdc35a08
Oops, missing Makefile in the esd audio driver check-in; libao2 Makefile needs
jkeil
parents:
6430
diff
changeset
|
11 CFLAGS = $(OPTFLAGS) -I. -I.. $(ARTS_INC) $(ESD_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 |