source: roaraudio/libroaresd/Makefile @ 706:6627e0732b98

Last change on this file since 706:6627e0732b98 was 694:945f0cff1fea, checked in by phi, 16 years ago

use $(SHARED) a bit more

File size: 456 bytes
RevLine 
[694]1include ../Makefile.conf
2
[0]3TARGETS=libroaresd.so
4OBJS=libroaresd.o esdbasic.o esdctl.o esdstream.o esdsample.o esdfile.o
5
[632]6#DEFINES        = -DDEBUG
[1]7INCLUDE = -I../include -I../include/libroaresd
[694]8CFLAGS  = -g -Wall -O2 $(DEFINES) $(INCLUDE) $(INCPATH) -fPIC
9LDFLAGS = -g  -lroar $(LDPATH) -L../lib/
[0]10
11all: ${TARGETS}
[475]12        cp $(cp_v) ${TARGETS} ../lib/
[0]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.