source: roaraudio/roarclients/Makefile @ 1736:a639c278e59a

Last change on this file since 1736:a639c278e59a was 1736:a639c278e59a, checked in by phi, 15 years ago

use $*LIBS

File size: 1.9 KB
Line 
1TARGETS=roarcat roarcatad roarcat2sock roarcatsendfile roarcatplay roarcatpassfh roarbidir roarctl roarmon roarsockconnect roartypes roarvorbis roarvumeter roarfilt roarsin roar-config polytest roarsocktypes roarshout roarradio roarfctest roarmonhttp pinentrytest zcattest pgptest roarcatvio pipetest
2TOOLS=roarify
3
4include ../Makefile.conf
5
6#DEFINES        = -DDEBUG
7INCLUDE    = -I../include -I./include
8CFLAGS    += -g -Wall -O2 $(DEFINES) $(INCLUDE) $(INCPATH)
9LDFLAGS    = -g -L../lib/ $(LDPATH) -lroar
10LIBS       = -lroar
11DSPLIBS    = -lroardsp -lm $(LIBS)
12SHOUTLIBS  = $(lib_shout) $(LIBS)
13VORBISLIBS = $(lib_vorbisfile) $(lib_vorbis) $(lib_ogg) $(LIBS)
14
15all: ${TARGETS} $(TOOLS)
16        cp $(cp_v) ${TARGETS} $(TOOLS) ../lib/
17clean:
18        rm -f ${TARGETS} *.o
19new: clean all
20
21roarcat: roarcat.o
22roarcatad: roarcatad.o
23roarcat2sock: roarcat2sock.o
24roarcatsendfile: roarcatsendfile.o
25roarcatplay: roarcatplay.o
26roarcatpassfh: roarcatpassfh.o
27roarcatvio: roarcatvio.o
28roarradio: roarradio.o
29roarctl: roarctl.o
30roarmon: roarmon.o
31roarmonhttp: roarmonhttp.o
32roarbidir: roarbidir.o
33roarfilt: roarfilt.o
34        ${CC} ${LDFLAGS} -o roarfilt roarfilt.o $(DSPLIBS)
35roarsin: roarsin.o
36        ${CC} ${LDFLAGS} -o roarsin roarsin.o $(DSPLIBS)
37roarvumeter: roarvumeter.o
38        ${CC} ${LDFLAGS} -o roarvumeter roarvumeter.o $(DSPLIBS)
39roarsockconnect: roarsockconnect.o
40roartypes: roartypes.o
41roarsocktypes: roarsocktypes.o
42roar-config: roar-config.o
43roarvorbis: roarvorbis.o
44        ${CC} ${LDFLAGS} -o roarvorbis roarvorbis.o $(VORBISLIBS)
45roarshout: roarshout.o
46        ${CC} ${LDFLAGS} -o roarshout roarshout.o $(SHOUTLIBS)
47polytest: polytest.o
48        ${CC} ${LDFLAGS} -o polytest polytest.o $(DSPLIBS)
49pinentrytest: pinentrytest.o
50zcattest: zcattest.o
51pgptest: pgptest.o
52pipetest: pipetest.o
53roarfctest: roarfctest.o
54        ${CC} ${LDFLAGS} -o roarfctest roarfctest.o $(DSPLIBS)
55
56roarify.sht:
57roarify: roarify.sht
58        sed 's#%%%PREFIX_COMP%%%#$(PREFIX_COMP)#g' < roarify.sht > roarify
59        chmod +rx roarify
Note: See TracBrowser for help on using the repository browser.