source: roaraudio/roarclients/Makefile @ 1777:e7a9669095f5

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

use linker command in $L

File size: 2.1 KB
RevLine 
[1304]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
[1619]2TOOLS=roarify
[0]3
[476]4include ../Makefile.conf
5
[554]6#DEFINES        = -DDEBUG
[1736]7INCLUDE    = -I../include -I./include
8CFLAGS    += -g -Wall -O2 $(DEFINES) $(INCLUDE) $(INCPATH)
9LDFLAGS    = -g -L../lib/ $(LDPATH) -lroar
[1755]10LIBS       = -lroar $(lib_wsock32) $(lib_ws2_32)
[1736]11DSPLIBS    = -lroardsp -lm $(LIBS)
12SHOUTLIBS  = $(lib_shout) $(LIBS)
13VORBISLIBS = $(lib_vorbisfile) $(lib_vorbis) $(lib_ogg) $(LIBS)
[0]14
[1776]15L          = $(CC) $(LDFLAGS) -o $@ $+ $(LIBS)
16
[1619]17all: ${TARGETS} $(TOOLS)
18        cp $(cp_v) ${TARGETS} $(TOOLS) ../lib/
[0]19clean:
20        rm -f ${TARGETS} *.o
21new: clean all
22
23roarcat: roarcat.o
[1777]24        $L
[0]25roarcatad: roarcatad.o
[1777]26        $L
[83]27roarcat2sock: roarcat2sock.o
[1777]28        $L
[295]29roarcatsendfile: roarcatsendfile.o
[1777]30        $L
[296]31roarcatplay: roarcatplay.o
[1777]32        $L
[760]33roarcatpassfh: roarcatpassfh.o
[1777]34        $L
[1279]35roarcatvio: roarcatvio.o
[1777]36        $L
[800]37roarradio: roarradio.o
[1777]38        $L
[0]39roarctl: roarctl.o
[1777]40        $L
[0]41roarmon: roarmon.o
[1777]42        $L
[1016]43roarmonhttp: roarmonhttp.o
[1777]44        $L
[826]45roarbidir: roarbidir.o
[1777]46        $L
[126]47roarfilt: roarfilt.o
[1736]48        ${CC} ${LDFLAGS} -o roarfilt roarfilt.o $(DSPLIBS)
[294]49roarsin: roarsin.o
[1736]50        ${CC} ${LDFLAGS} -o roarsin roarsin.o $(DSPLIBS)
[297]51roarvumeter: roarvumeter.o
[1736]52        ${CC} ${LDFLAGS} -o roarvumeter roarvumeter.o $(DSPLIBS)
[4]53roarsockconnect: roarsockconnect.o
[1777]54        $L
[47]55roartypes: roartypes.o
[1777]56        $L
[510]57roarsocktypes: roarsocktypes.o
[1777]58        $L
[293]59roar-config: roar-config.o
[1777]60        $L
[111]61roarvorbis: roarvorbis.o
[1736]62        ${CC} ${LDFLAGS} -o roarvorbis roarvorbis.o $(VORBISLIBS)
[599]63roarshout: roarshout.o
[1736]64        ${CC} ${LDFLAGS} -o roarshout roarshout.o $(SHOUTLIBS)
[384]65polytest: polytest.o
[1736]66        ${CC} ${LDFLAGS} -o polytest polytest.o $(DSPLIBS)
[1236]67pinentrytest: pinentrytest.o
[1777]68        $L
[1259]69zcattest: zcattest.o
[1777]70        $L
[1270]71pgptest: pgptest.o
[1777]72        $L
[1304]73pipetest: pipetest.o
[1777]74        $L
[954]75roarfctest: roarfctest.o
[1736]76        ${CC} ${LDFLAGS} -o roarfctest roarfctest.o $(DSPLIBS)
[1619]77
78roarify.sht:
79roarify: roarify.sht
80        sed 's#%%%PREFIX_COMP%%%#$(PREFIX_COMP)#g' < roarify.sht > roarify
81        chmod +rx roarify
Note: See TracBrowser for help on using the repository browser.