Artifact c46d0d1a27341d859956347e00c5b311373db114eae68b54afa16530f6bbc40a:
- File
tests/OFXMLFactory/Makefile
— part of check-in
[4e4c1c0eca]
at
2009-05-16 13:23:29
on branch trunk
— Add objfw-config script.
The problem with pkg-config is that it doesn't know about CPPFLAGS or
OBJCFLAGS, only CFLAGS.Oh, and the library version was changed from 1.0 to 0.1, so it matches
with the rest. (user: js, size: 721) [annotate] [blame] [check-ins using]
PROG_NOINST = ofxmlfactory${PROG_SUFFIX} SRCS = OFXMLFactory.m include ../../buildsys.mk include ../../extra.mk CPPFLAGS += -I../../src -I../.. LIBS := -L../../src -lobjfw ${LIBS} .PHONY: run all: run run: ${PROG_NOINST} rm -f libobjfw.so.0 libobjfw.so.0.1 libobjfw.dll libobjfw.dylib ln -s ../../src/libobjfw.so libobjfw.so.0 ln -s ../../src/libobjfw.so libobjfw.so.0.1 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.0 libobjfw.so.0.1 libobjfw.dll libobjfw.dylib; \ exit $$EXIT