summary refs log tree commit diff
path: root/port/wcwidth/Makefile
blob: 50faa6536f9b07eea054e8d015c4024197884543 (plain) (blame)
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
PREFIX ?= ~/.local

OBJS = wcwidth.o wcswidth.o

all: libwcwidth.dylib wcfix

libwcwidth.dylib: ${OBJS}
	${CC} -dynamiclib ${LDFLAGS} ${OBJS} -o $@

wcwidth.o: nonspacing.h wide.h

.SUFFIXES: .in

.in:
	sed 's|%%PREFIX%%|${PREFIX}|g' $< > $@
	chmod a+x $@

clean:
	rm -f libwcwidth.dylib wcfix ${OBJS}

install: libwcwidth.dylib wcfix
	install -d ${PREFIX}/lib ${PREFIX}/bin
	install -m 644 libwcwidth.dylib ${PREFIX}/lib
	install wcfix ${PREFIX}/bin

uninstall:
	rm -f ${PREFIX}/lib/libwcwidth.dylib ${PREFIX}/bin/wcfix
June McEnroe 2019-09-05Use CURLINFO_CONTENT_TYPEJune McEnroe 2019-09-05Decode entities in titlesJune McEnroe 2019-09-05Print title as soon as it's availableJune McEnroe 2019-09-05Use CURL_PREFIX to set flagsJune McEnroe 2019-09-05Add titleJune McEnroe 2019-09-04Add Avorter n'est pas tuerJune McEnroe 2019-08-29Unset executable on shell scriptsJune McEnroe 2019-08-29Add long-missing setopt to bin.7June McEnroe 2019-08-29Add editJune McEnroe