966
|
1 include config.mak
|
954
|
2
|
1013
|
3 LIBNAME = libao2.a
|
954
|
4
|
6430
|
5 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
|
6
|
954
|
7 OBJS=$(SRCS:.c=.o)
|
|
8
|
13878
|
9 CFLAGS = $(OPTFLAGS) -I. -I.. $(ARTS_INC) $(ESD_INC) $(JACK_INC) $(SDL_INC) $(X11_INC) $(EXTRA_INC) $(DXR2_INC) $(DVB_INC) $(POLYP_INC)
|
954
|
10
|
|
11 .SUFFIXES: .c .o
|
|
12
|
|
13 # .PHONY: all clean
|
|
14
|
|
15 .c.o:
|
|
16 $(CC) -c $(CFLAGS) -o $@ $<
|
|
17
|
1010
|
18 $(LIBNAME): $(OBJS)
|
954
|
19 $(AR) r $(LIBNAME) $(OBJS)
|
12632
|
20 $(RANLIB) $(LIBNAME)
|
954
|
21
|
|
22 all: $(LIBNAME)
|
|
23
|
|
24 clean:
|
|
25 rm -f *.o *.a *~
|
|
26
|
|
27 distclean:
|
|
28 rm -f Makefile.bak *.o *.a *~ .depend
|
|
29
|
|
30 dep: depend
|
|
31
|
1010
|
32 depend:
|
954
|
33 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
|
|
34
|
|
35 #
|
|
36 # include dependency files if they exist
|
|
37 #
|
|
38 ifneq ($(wildcard .depend),)
|
|
39 include .depend
|
|
40 endif
|