source: roaraudio/libroarpulse/Makefile @ 1733:b31058000869

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

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

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