annotate libao2/Makefile @ 15689:80494fefb7ea

mingw gcc 4.1 support patch by Gianluigi Tiesi <mplayer at netfarm.it>
author faust3
date Tue, 07 Jun 2005 13:36:21 +0000
parents 21e72b6d8d11
children d3d30585a9d2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
966
69b4f944ce08 Added support for sdl audio out (buggy pre-alpha).
atmosfear
parents: 954
diff changeset
1 include config.mak
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
2
1013
74d55f3c4680 libao->libao2 because of conflict with OMS's libao
arpi_esp
parents: 1010
diff changeset
3 LIBNAME = libao2.a
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
4
14254
21e72b6d8d11 Do not use audio plugins anymore
reimar
parents: 14245
diff changeset
5 SRCS=audio_out.c ao_mpegpes.c ao_null.c ao_pcm.c $(OPTIONAL_SRCS)
3631
5f5189ac6a41 Added plugin for fractional resampling (alpha code)
anders
parents: 3484
diff changeset
6
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
7 OBJS=$(SRCS:.c=.o)
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
8
13878
66637fa67531 polyaudio audio driver patch by Lennart Poettering <mzzcynlre at 0pointer.de>
faust3
parents: 12662
diff changeset
9 CFLAGS = $(OPTFLAGS) -I. -I.. $(ARTS_INC) $(ESD_INC) $(JACK_INC) $(SDL_INC) $(X11_INC) $(EXTRA_INC) $(DXR2_INC) $(DVB_INC) $(POLYP_INC)
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
10
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
11 .SUFFIXES: .c .o
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
12
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
13 # .PHONY: all clean
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
14
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
15 .c.o:
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
16 $(CC) -c $(CFLAGS) -o $@ $<
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
17
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 966
diff changeset
18 $(LIBNAME): $(OBJS)
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
19 $(AR) r $(LIBNAME) $(OBJS)
12632
80973aa180a5 ranlib cleanup by Dan Christiansen
alex
parents: 10159
diff changeset
20 $(RANLIB) $(LIBNAME)
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
21
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
22 all: $(LIBNAME)
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
23
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
24 clean:
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
25 rm -f *.o *.a *~
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
26
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
27 distclean:
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
28 rm -f Makefile.bak *.o *.a *~ .depend
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
29
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
30 dep: depend
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
31
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 966
diff changeset
32 depend:
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
33 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
34
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
35 #
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
36 # include dependency files if they exist
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
37 #
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
38 ifneq ($(wildcard .depend),)
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
39 include .depend
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
40 endif