annotate libao2/Makefile @ 1698:7f8579211924

fixed ugly gtkChildPID=getppid(); bug
author arpi
date Sat, 25 Aug 2001 23:17:13 +0000
parents dfccdda074e5
children b24661a9924e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
1
966
69b4f944ce08 Added support for sdl audio out (buggy pre-alpha).
atmosfear
parents: 954
diff changeset
2 include config.mak
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
3
1013
74d55f3c4680 libao->libao2 because of conflict with OMS's libao
arpi_esp
parents: 1010
diff changeset
4 LIBNAME = libao2.a
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
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
1107
9d764880d989 Added raw PCM writer ao driver.
atmosfear
parents: 1038
diff changeset
7 SRCS=audio_out.c ao_null.c ao_pcm.c $(OPTIONAL_SRCS)
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
8 OBJS=$(SRCS:.c=.o)
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
9
1234
dfccdda074e5 OPTFLAGS vs. INCLUDES cleanup
arpi
parents: 1107
diff changeset
10 CFLAGS = $(OPTFLAGS) -I. -I.. $(SDL_INC) $(EXTRA_INC)
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
11
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
12 .SUFFIXES: .c .o
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
13
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
14 # .PHONY: all clean
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
15
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
16 .c.o:
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
17 $(CC) -c $(CFLAGS) -o $@ $<
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
18
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 966
diff changeset
19 $(LIBNAME): $(OBJS)
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
20 $(AR) r $(LIBNAME) $(OBJS)
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