1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
PROG_NOINST = ofstring${PROG_SUFFIX}
SRCS = OFString.m
include ../../buildsys.mk
CPPFLAGS += -I../../src -I../..
LIBS += -lobjc -L../../src -lobjfw
.PHONY: run
all: run
run: ${PROG_NOINST}
rm -f libobjfw.so.1 libobjfw.so.1.0 libobjfw.dylib
ln -s ../../src/libobjfw.so libobjfw.so.1
ln -s ../../src/libobjfw.so libobjfw.so.1.0
ln -s ../../src/libobjfw.dll libobjfw.dll
ln -s ../../src/libobjfw.dylib libobjfw.dylib
LD_LIBRARY_PATH=.$${LD_LIBRARY_PATH+:}$$LD_LIBRARY_PATH \
DYLD_LIBRARY_PATH=.$${DYLD_LIBRARY_PATH+:}$$DYLD_LIBRARY_PATH \
./${PROG_NOINST}; EXIT=$$?; \
rm -f libobjfw.so.1 libobjfw.so.1.0 libobjfw.dll libobjfw.dylib; \
exit $$EXIT
|
>
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
PROG_NOINST = ofstring${PROG_SUFFIX}
SRCS = OFString.m
include ../../buildsys.mk
include ../../extra.mk
CPPFLAGS += -I../../src -I../..
LIBS += -lobjc -L../../src -lobjfw
.PHONY: run
all: run
run: ${PROG_NOINST}
rm -f libobjfw.so.1 libobjfw.so.1.0 libobjfw.dylib
ln -s ../../src/libobjfw.so libobjfw.so.1
ln -s ../../src/libobjfw.so libobjfw.so.1.0
ln -s ../../src/libobjfw.dll libobjfw.dll
ln -s ../../src/libobjfw.dylib libobjfw.dylib
LD_LIBRARY_PATH=.$${LD_LIBRARY_PATH+:}$$LD_LIBRARY_PATH \
DYLD_LIBRARY_PATH=.$${DYLD_LIBRARY_PATH+:}$$DYLD_LIBRARY_PATH \
${TEST_LAUNCHER} ./${PROG_NOINST}; EXIT=$$?; \
rm -f libobjfw.so.1 libobjfw.so.1.0 libobjfw.dll libobjfw.dylib; \
exit $$EXIT
|