Overview
Comment: | Improve Makefile. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
8575560a38a5952381663431862d9d56 |
User & Date: | js on 2013-02-14 23:03:43 |
Other Links: | manifest | tags |
Context
2013-02-14
| ||
23:21 | Fix handling of nick changes. check-in: 22699c973b user: js tags: trunk | |
23:03 | Improve Makefile. check-in: 8575560a38 user: js tags: trunk | |
00:32 | Don't implement IRCConnectionDelegate on OFObject. check-in: c99e07382f user: js tags: trunk | |
Changes
Modified src/Makefile from [f955360b17] to [cda533a428].
1 | all: | > > > > > > > > > > > > > > > > > > > > > > > | > > > > > > | > > > > | > | > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | LIB = objirc LIB_MAJOR = 0 LIB_MINOR = 0 SRCS = IRCConnection.m \ IRCUser.m HEADERS = ${SRCS:.m=.h} \ ObjIRC.h CPPFLAGS += -I. OBJCFLAGS += -Werror prefix ?= /usr/local INSTALL ?= install OBJFW_CONFIG ?= objfw-config OBJFW_COMPILE ?= objfw-compile LIB_PREFIX = `${OBJFW_CONFIG} --lib-prefix` LIB_SUFFIX = `${OBJFW_CONFIG} --lib-suffix` LIB_FILE = ${LIB_PREFIX}${LIB}${LIB_SUFFIX} all: @objfw-compile \ --lib ${LIB_MAJOR}.${LIB_MINOR} \ -o objirc \ --builddir build \ ${CPPFLAGS} \ ${OBJCFLAGS} \ ${SRCS} clean: rm -f libobjirc.* *~ rm -fr build install: mkdir -p ${destdir}${prefix}/include/ObjIRC for i in ${HEADERS}; do \ ${INSTALL} -m 644 $$i \ ${destdir}${prefix}/include/ObjIRC/$$i; \ done mkdir -p ${destdir}${prefix}/lib export LIB_MAJOR=${LIB_MAJOR}; \ export LIB_MINOR=${LIB_MINOR}; \ ${INSTALL} -m 755 ${LIB_FILE} ${destdir}${prefix}/lib/${LIB_FILE} |