source: roaraudio/libroarpulse/Makefile @ 1733:b31058000869

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

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

File size: 524 bytes
RevLine 
[401]1TARGETS=libroarpulse.so libroarpulseinfo
[412]2OBJS=libroarpulse.o simple.o util.o
[399]3
[694]4include ../Makefile.conf
5
[399]6DEFINES        = -DDEBUG
7INCLUDE = -I../include -I../include/libroarpulse
[1389]8CFLAGS += -g -Wall -O2 $(DEFINES) $(INCLUDE) $(INCPATH) $(SHARED_CF) $(fPIC)
[1733]9LDFLAGS = -g $(LDPATH) -L../lib/
10LIBS    = -lroar
[399]11
12all: ${TARGETS}
[475]13        cp $(cp_v) ${TARGETS} ../lib/
[399]14clean:
15        rm -f ${TARGETS} *.o
16new: clean all
17
18libroarpulse.so: ${OBJS}
[1733]19        ${CC} ${LDFLAGS} $(SHARED) -o libroarpulse.so ${OBJS} ${LIBS}
[401]20
21libroarpulseinfo: libroarpulseinfo.o
Note: See TracBrowser for help on using the repository browser.