source: roaraudio/libroar/Makefile @ 1179:a48678c24d6a

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

forgot about the case file not allrady exists, use -f

File size: 587 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) $(lib_ws2_32)
10
11all: ${TARGETS}
12        rm -f ../lib/${TARGETS} 2> /dev/null || true
13        cp $(cp_v) ${TARGETS} ../lib/
14clean:
15        rm -f ${TARGETS} *.o
16new: clean all
17
18libroar.so: ${OBJS}
19        ${CC} ${LDFLAGS} -o libroar.so ${OBJS}
Note: See TracBrowser for help on using the repository browser.