source: roaraudio/libroar/Makefile @ 1070:4db401cc5e5b

Last change on this file since 1070:4db401cc5e5b was 1070:4db401cc5e5b, checked in by phi, 15 years ago

link libroar against winsock if existing

File size: 527 bytes
Line 
1include ../Makefile.conf
2
3TARGETS=libroar.so
4OBJS=libroar.o basic.o stream.o simple.o auth.o socket.o ctl.o buffer.o convert.o poly.o meta.o file.o acl.o vio.o cdrom.o
5
6#DEFINES        = -DDEBUG
7INCLUDE = -I../include -I../include/libroar
8CFLAGS += -g -Wall -O2 $(DEFINES) $(INCLUDE) $(INCPATH) $(SHARED_CF) -fPIC
9LDFLAGS = -g $(SHARED) $(LDPATH) $(lib_dnet) $(lib_wsock32)
10
11all: ${TARGETS}
12        cp $(cp_v) ${TARGETS} ../lib/
13clean:
14        rm -f ${TARGETS} *.o
15new: clean all
16
17libroar.so: ${OBJS}
18        ${CC} ${LDFLAGS} -o libroar.so ${OBJS}
Note: See TracBrowser for help on using the repository browser.