source: roaraudio/libroaryiff/Makefile @ 4559:4660942db9dc

Last change on this file since 4559:4660942db9dc was 4559:4660942db9dc, checked in by phi, 11 years ago

correct usage of COMMON_SOVERSION

File size: 613 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 -O2 $(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.