source: roaraudio/libroarpulse/Makefile @ 3418:6affa9222ea5

Last change on this file since 3418:6affa9222ea5 was 3418:6affa9222ea5, checked in by phi, 10 years ago

added channelmap.c

File size: 784 bytes
Line 
1TARGETS=libroarpulse.so libroarpulseinfo
2OBJS_ROAR   = libroarpulse.o
3OBJS_STD    = util.o context.o xmalloc.o version.o operation.o introspect.o sample.o channelmap.o
4OBJS_SIMPLE = simple.o
5OBJS=$(OBJS_ROAR) $(OBJS_SIMPLE) $(OBJS_STD)
6
7include ../Makefile.conf
8include ../Makefile.inc
9
10#DEFINES        = -DDEBUG
11INCLUDE = -I../include -I../include/libroarpulse
12CFLAGS += -g -Wall -O2 $(DEFINES) $(INCLUDE) $(INCPATH) $(SHARED_CF) $(fPIC)
13LDFLAGS = -g $(LDPATH) -L../lib/
14LIBS    = $(LIBROAR)
15
16all: ${TARGETS}
17        cp $(cp_v) ${TARGETS} ../lib/
18clean:
19        rm -f ${TARGETS} *.o
20new: clean all
21
22libroarpulse.so: ${OBJS}
23        ${CC} ${LDFLAGS} $(SHARED) -Wl,-soname,libroarpulse$(SHARED_SUFFIX).$(COMMON_V_MAJOR) -o libroarpulse$(SHARED_SUFFIX) ${OBJS} ${LIBS}
24
25libroarpulseinfo: libroarpulseinfo.o
Note: See TracBrowser for help on using the repository browser.