source: roaraudio/libroaresd/Makefile @ 1389:ba7d3f033dad

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

don't set -fPIC on win32

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