source: roaraudio/libroarsndio/Makefile @ 1757:a5411174a2d9

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

added win32 socket libs

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