source: roaraudio/libroar/Makefile @ 474:bf16bfa39554

Last change on this file since 474:bf16bfa39554 was 433:547a5792ba9b, checked in by phi, 16 years ago

added -fPIC as it is needed on x86_64

File size: 430 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
[368]7LDFLAGS = -g -shared -lm
[0]8
9all: ${TARGETS}
10        cp -v ${TARGETS} ../lib/
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.