Last change
on this file since 4808:4c58c6f5a373 was
4748:d7be1c18ccb5,
checked in by phi, 13 years ago
|
updated configure script to honor LDFLAGS and added --opti to set optimizer level (Closes: #27)
|
File size:
713 bytes
|
Line | |
---|
1 | TARGET=libroar.so |
---|
2 | OBJ=ao_roar.o |
---|
3 | |
---|
4 | include ../../Makefile.conf |
---|
5 | include ../../Makefile.inc |
---|
6 | include Makefile.conf |
---|
7 | |
---|
8 | #DEFINES=-DDEBUG |
---|
9 | CFLAGS += -g -Wall $(OPTI_O) -I../../include $(DEFINES) $(HAVE_MATRIX) $(INCLUDE) $(INCPATH) $(SHARED_CF) $(fPIC) $(AO_CFLAGS) |
---|
10 | LDFLAGS+= -g $(SHARED) $(LDPATH) -L../../lib |
---|
11 | LIBS = $(LIBROAR) $(AO_LIBS) |
---|
12 | |
---|
13 | all: ${TARGET} |
---|
14 | clean: |
---|
15 | rm -f ${TARGET} *.o tests tests.c |
---|
16 | new: clean all |
---|
17 | |
---|
18 | install: libroar.so |
---|
19 | mkdir -p ${DESTDIR}${INSTALL_DIR} |
---|
20 | cp libroar.so ${DESTDIR}${INSTALL_DIR} |
---|
21 | semi-install: libroar.so |
---|
22 | mkdir -p ${DESTDIR}${INSTALL_DIR} |
---|
23 | ln -fs `pwd`/libroar.so ${DESTDIR}${INSTALL_DIR} |
---|
24 | |
---|
25 | libroar.so: $(OBJ) |
---|
26 | $(CC) $(LDFLAGS) -Wl,-soname,libroar.so -o libroar.so $(OBJ) $(LIBS) |
---|
27 | |
---|
28 | ao_roar.c: |
---|
Note: See
TracBrowser
for help on using the repository browser.