source: roaraudio/libroaryiff/Makefile @ 4748:d7be1c18ccb5

Last change on this file since 4748:d7be1c18ccb5 was 4748:d7be1c18ccb5, checked in by phi, 11 years ago

updated configure script to honor LDFLAGS and added --opti to set optimizer level (Closes: #27)

File size: 619 bytes
Line 
1TARGETS=libroaryiff.so
2OBJS=libroaryiff.o connection.o playback.o audiocd.o ctl.o stub.o file.o events.o
3
4include ../Makefile.conf
5include ../Makefile.inc
6
7#DEFINES        = -DDEBUG
8INCLUDE = -I../include -I../include/libroaryiff
9CFLAGS += -g -Wall $(OPTI_O) $(DEFINES) $(INCLUDE) $(INCPATH) $(SHARED_CF) $(fPIC)
10LDFLAGS+= -g $(SHARED) $(LDPATH) -L../lib/
11LIBS    = $(LIBROAR)
12
13all: ${TARGETS}
14        cp $(cp_v) ${TARGETS} ../lib/
15clean:
16        rm -f ${TARGETS} *.o
17new: clean all
18
19libroaryiff.so: ${OBJS}
20        ${CC} ${LDFLAGS} -Wl,-soname,libroaryiff$(SHARED_SUFFIX).$(COMMON_SOVERSION) -o libroaryiff$(SHARED_SUFFIX) ${OBJS} ${LIBS}
Note: See TracBrowser for help on using the repository browser.