source: roaraudio/roard/Makefile @ 1750:e1745c2a2f8c

Last change on this file since 1750:e1745c2a2f8c was 1733:b31058000869, checked in by phi, 15 years ago

use $LIBS in Makefiles: add libs at end of linker options

File size: 1.1 KB
RevLine 
[0]1TARGETS=roard
2
[262]3OBJ=roard.o driver.o mixer.o output.o signals.o loop.o clients.o streams.o network.o commands.o req.o sources.o sample.o meta.o codecfilter.o midi.o lib.o
[1543]4DRV=driver_esd.o driver_ao.o driver_roar.o driver_raw.o driver_oss.o driver_shout.o driver_sndio.o
[992]5CF=codecfilter_cmd.o codecfilter_vorbis.o codecfilter_celt.o codecfilter_speex.o codecfilter_wave.o codecfilter_alaw.o codecfilter_mulaw.o codecfilter_sndfile.o codecfilter_fishsound.o
[0]6
[431]7include ../Makefile.conf
8
[0]9#DEFINES        = -DDEBUG
[10]10#DEFINES        = -DMONITOR_LATENCY
[0]11INCLUDE = -I../include -I./include
[726]12CFLAGS += -g -Wall -O2 $(DEFINES) $(INCLUDE) $(INCPATH)
[1733]13LDFLAGS = -g -L../lib/ $(LDPATH)
14LIBS    = -lroar -lroardsp $(lib_esd) $(lib_ossaudio) $(lib_ao) $(lib_shout) $(lib_vorbisfile) $(lib_vorbisenc) $(lib_vorbis) $(lib_celt) $(lib_fishsound) $(lib_speex) $(lib_speexdsp) $(lib_oggz) $(lib_sndfile) $(lib_m) $(lib_sndio) $(lib_ogg) $(lib_socket)
[0]15
16all: ${TARGETS}
[1181]17        rm -f ../lib/${TARGETS} 2> /dev/null || true
[475]18        cp $(cp_v) ${TARGETS} ../lib/
[0]19clean:
20        rm -f ${TARGETS} *.o
21new: clean all
22
[261]23roard: ${OBJ} ${DRV} ${CF}
[1733]24        ${CC} ${LDFLAGS} -o roard ${OBJ} ${DRV} ${CF} ${LIBS}
Note: See TracBrowser for help on using the repository browser.