source: roaraudio/libroarpulse/Makefile @ 3393:f6fd8a8a9658

Last change on this file since 3393:f6fd8a8a9658 was 3393:f6fd8a8a9658, checked in by phi, 10 years ago

started wil xmalloc -> memory functions

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