-
Notifications
You must be signed in to change notification settings - Fork 7
/
makeitfile
45 lines (32 loc) · 824 Bytes
/
makeitfile
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
# Local makefile run by build.pl
CFUNCTIONS=/home/ben/software/install/bin/cfunctions
# Obtain the file "c-tap-test.h" from
#
# https://www.lemoda.net/c/simple-tap-test/index.html
CTT=/home/ben/projects/c-tap-test
all: c-tap-test.h unicode.h unicode-character-class.h utf-8-test-data.c
make -f Makefile
test:
make -f Makefile test
c-tap-test.h: $(CTT)/$@
if [ -f $@ ]; then chmod 0644 $@; fi
cp $(CTT)/$@ $@
chmod 0444 $@
unicode.h: unicode.c
$(CFUNCTIONS) unicode.c
unicode-character-class.h: unicode-character-class.c
$(CFUNCTIONS) unicode-character-class.c
utf-8-test-data.c: utf-8-test.pl UTF-8-test.txt
./utf-8-test.pl
veryclean:
rm -f \
c-tap-test.h \
unicode-character-class.h \
unicode.h \
ZZZZZ
cd doc;make clean
clean:
make -f Makefile clean
# Local variables:
# mode: makefile
# End: