source: roaraudio/libroaryiff/Makefile @ 1954:1528973b141a

Last change on this file since 1954:1528973b141a was 1733:b31058000869, checked in by phi, 15 years ago

use $LIBS in Makefiles: add libs at end of linker options

File size: 512 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
5
6#DEFINES        = -DDEBUG
7INCLUDE = -I../include -I../include/libroaryiff
8CFLAGS += -g -Wall -O2 $(DEFINES) $(INCLUDE) $(INCPATH) $(SHARED_CF) $(fPIC)
9LDFLAGS = -g $(SHARED) $(LDPATH) -L../lib/
10LIBS    = -lroar
11
12all: ${TARGETS}
13        cp $(cp_v) ${TARGETS} ../lib/
14clean:
15        rm -f ${TARGETS} *.o
16new: clean all
17
18libroaryiff.so: ${OBJS}
19        ${CC} ${LDFLAGS} -o libroaryiff.so ${OBJS} ${LIBS}
Note: See TracBrowser for help on using the repository browser.