Commit e6b6625a authored by Jeroen Vreeken's avatar Jeroen Vreeken
Browse files

make sure correct ../lib is used

parent a27a2267
......@@ -13,15 +13,15 @@ libs_install: libtrace.la_install
bins: libs libs_install trace_dump trace_dumpdiff trace_fft
${PWD}/../lib:
@mkdir ${PWD}/../lib
${CURDIR}/../lib:
@mkdir ${CURDIR}/../lib
libtrace.la_LDFLAGS= -lutils -lm -rpath ${PWD}/../lib
libtrace.la_LDFLAGS= -lutils -lm -rpath ${CURDIR}/../lib
libtrace.la: trace.lo
libtrace.la_install: libtrace.la ${PWD}/../lib
libtrace.la_install: libtrace.la ${CURDIR}/../lib
@echo "CP $^ to libdir"
@${LIBTOOL} --quiet --mode=install install libtrace.la ${PWD}/../lib
@${LIBTOOL} --quiet --mode=install install libtrace.la ${CURDIR}/../lib
trace_dump_LDFLAGS= -ltrace -lutils
trace_dump: trace_dump.o
......
......@@ -10,15 +10,15 @@ LIBUTILOBJS= $(UTILSRCS:.c=.lo)
all: $(LIBUTILOBJS) weather_test libutils.la libutils.la_install
libutils.la_LDFLAGS= -lm -rpath ${PWD}/../lib
libutils.la_LDFLAGS= -lm -rpath ${CURDIR}/../lib
libutils.la: $(LIBUTILOBJS)
${PWD}/../lib:
@mkdir ${PWD}/../lib
${CURDIR}/../lib:
@mkdir ${CURDIR}/../lib
libutils.la_install: libutils.la ${PWD}/../lib
libutils.la_install: libutils.la ${CURDIR}/../lib
@echo "CP $^ to libdir"
@${LIBTOOL} --quiet --mode=install install libutils.la ${PWD}/../lib
@${LIBTOOL} --quiet --mode=install install libutils.la ${CURDIR}/../lib
weather_test: weather_test.o weather.o tcp_connect.o
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment