forked from ridiculousfish/widecharwidth
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
19 lines (14 loc) · 670 Bytes
/
Makefile
File metadata and controls
19 lines (14 loc) · 670 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
test: tester rust
./tester
widechar_width.h widechar_width.js widechar_width.rs widechar_width.py widechar_width.java: generate.py
./generate.py
wcwidth9.h:
@echo "Tests require original wcwidth9.h from https://github.com/joshuarubin/wcwidth9"
wget https://raw.githubusercontent.com/joshuarubin/wcwidth9/master/wcwidth9.h
rust: widechar_width.rs
rustc widechar_width.rs --crate-type lib --test
./widechar_width
tester: test.cpp widechar_width.h | wcwidth9.h
clang++ -std=c++11 test.cpp -o tester
clean:
rm -f UnicodeData.txt emoji-data.txt EastAsianWidth.txt widechar_width.h widechar_width.js widechar_width.rs widechar_width.py widechar_width.java tester