source: roaraudio/libroar/Makefile @ 485:efebd5911d51

Last change on this file since 485:efebd5911d51 was 485:efebd5911d51, checked in by phi, 16 years ago

added LDPATH to all Makefiles

File size: 445 bytes
RevLine 
[0]1TARGETS=libroar.so
[366]2OBJS=libroar.o basic.o stream.o simple.o auth.o socket.o ctl.o buffer.o convert.o poly.o meta.o file.o midi.o acl.o
[0]3
4#DEFINES        = -DDEBUG
[1]5INCLUDE = -I../include -I../include/libroar
[433]6CFLAGS  = -g -Wall -O2 $(DEFINES) $(INCLUDE) -fPIC
[485]7LDFLAGS = -g -shared $(LDPATH) -lm
[0]8
9all: ${TARGETS}
[475]10        cp $(cp_v) ${TARGETS} ../lib/
[0]11clean:
12        rm -f ${TARGETS} *.o
13new: clean all
14
15libroar.so: ${OBJS}
16        ${CC} ${LDFLAGS} -o libroar.so ${OBJS}
Note: See TracBrowser for help on using the repository browser.