forked from YandYTeX/yandytex-src
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.android
More file actions
executable file
·79 lines (56 loc) · 1.67 KB
/
Makefile.android
File metadata and controls
executable file
·79 lines (56 loc) · 1.67 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#
# Copyright (c) 2014 Clerk Ma
#
# You may freely use, modify and/or distribute this file.
#
# makefile for linux (tested in ubuntu 14.04: gcc 4.8).
# linked libkpathsea.a and libz.a
# ./configure --prefix=/home/clerk/dev --host=arm-linux-androideabi
#
CC = arm-linux-androideabi-gcc
CFLAGS = -c -O2 -Wno-unused-result -I/home/clerk/android/include
LDFLAGS = /home/clerk/android/lib/libkpathsea.a -lz
objects = yandytex.o itex.o openinou.o subroute.o local.o \
tex0.o tex1.o tex2.o tex3.o tex4.o \
tex5.o tex6.o tex7.o tex8.o tex9.o \
pool.o utils.o
headers = yandytex.h texd.h coerce.h macros.h memory.h
yandytex: $(objects)
$(CC) -s -o yandytex $(objects) $(LDFLAGS)
yandytex.o: yandytex.c $(headers)
$(CC) $(CFLAGS) yandytex.c
itex.o: itex.c $(headers)
$(CC) $(CFLAGS) itex.c
openinou.o: openinou.c $(headers)
$(CC) $(CFLAGS) openinou.c
subroute.o: subroute.c $(headers)
$(CC) $(CFLAGS) subroute.c
local.o: local.c $(headers)
$(CC) $(CFLAGS) local.c
tex0.o: tex0.c $(headers)
$(CC) $(CFLAGS) tex0.c
tex1.o: tex1.c $(headers)
$(CC) $(CFLAGS) tex1.c
tex2.o: tex2.c $(headers)
$(CC) $(CFLAGS) tex2.c
tex3.o: tex3.c $(headers)
$(CC) $(CFLAGS) tex3.c
tex4.o: tex4.c $(headers)
$(CC) $(CFLAGS) tex4.c
tex5.o: tex5.c $(headers)
$(CC) $(CFLAGS) tex5.c
tex6.o: tex6.c $(headers)
$(CC) $(CFLAGS) tex6.c
tex7.o: tex7.c $(headers)
$(CC) $(CFLAGS) tex7.c
tex8.o: tex8.c $(headers)
$(CC) $(CFLAGS) tex8.c
tex9.o: tex9.c $(headers)
$(CC) $(CFLAGS) tex9.c
pool.o: pool.c $(headers)
$(CC) $(CFLAGS) pool.c
utils.o: utils.c $(headers)
$(CC) $(CFLAGS) utils.c
.PHONY: clean
clean:
rm yandytex *.o