summaryrefslogtreecommitdiffstats
path: root/converter/makefile
blob: e5fd9e62872491b1b20274f0bb460c9a199ea431 (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
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
CC = /usr/bin/g++
CC_OPTIONS = -O2 -s
CCE_OPTIONS = -O2 -s -x c


INCLUDE = -I.\
	-I../zlib-1.2.5\
	-Isource

denotch: \
		build/main.o\
		build/cDeNotch.o\
		build/cNBTData.o\
		build/cTimer.o\
		build/cQuicksort.o\
		build/cMakeDir.o\
		build/adler32.o\
		build/compress.o\
		build/crc32.o\
		build/deflate.o\
		build/gzclose.o\
		build/gzlib.o\
		build/gzread.o\
		build/gzwrite.o\
		build/infback.o\
		build/inffast.o\
		build/inflate.o\
		build/inftrees.o\
		build/trees.o\
		build/uncompr.o\
		build/zutil.o

		$(CC) $(LNK_OPTIONS) \
		build/main.o\
		build/cDeNotch.o\
		build/cNBTData.o\
		build/cTimer.o\
		build/cQuicksort.o\
		build/cMakeDir.o\
		build/adler32.o\
		build/compress.o\
		build/crc32.o\
		build/deflate.o\
		build/gzclose.o\
		build/gzlib.o\
		build/gzread.o\
		build/gzwrite.o\
		build/infback.o\
		build/inffast.o\
		build/inflate.o\
		build/inftrees.o\
		build/trees.o\
		build/uncompr.o\
		build/zutil.o\
		-o denotch

clean:
		rm \
		build/main.o\
		build/cDeNotch.o\
		build/cNBTData.o\
		build/cTimer.o\
		build/cQuicksort.o\
		build/cMakeDir.o\
		build/adler32.o\
		build/compress.o\
		build/crc32.o\
		build/deflate.o\
		build/gzclose.o\
		build/gzlib.o\
		build/gzread.o\
		build/gzwrite.o\
		build/infback.o\
		build/inffast.o\
		build/inflate.o\
		build/inftrees.o\
		build/trees.o\
		build/uncompr.o\
		build/zutil.o\

install : denotch
	cp denotch denotch

build/main.o : source/main.cpp
	$(CC) $(CC_OPTIONS) source/main.cpp -c $(INCLUDE) -o build/main.o


build/cDeNotch.o : source/cDeNotch.cpp
	$(CC) $(CC_OPTIONS) source/cDeNotch.cpp -c $(INCLUDE) -o build/cDeNotch.o


build/cNBTData.o : source/cNBTData.cpp
	$(CC) $(CC_OPTIONS) source/cNBTData.cpp -c $(INCLUDE) -o build/cNBTData.o


build/cTimer.o : source/cTimer.cpp
	$(CC) $(CC_OPTIONS) source/cTimer.cpp -c $(INCLUDE) -o build/cTimer.o


build/cQuicksort.o : source/cQuicksort.cpp
	$(CC) $(CC_OPTIONS) source/cQuicksort.cpp -c $(INCLUDE) -o build/cQuicksort.o

build/cMakeDir.o : source/cMakeDir.cpp
	$(CC) $(CC_OPTIONS) source/cMakeDir.cpp -c $(INCLUDE) -o build/cMakeDir.o

# Item # 104 -- adler32 --
build/adler32.o : ../zlib-1.2.5/adler32.c
	$(CC) $(CCE_OPTIONS) ../zlib-1.2.5/adler32.c -c $(INCLUDE) -o build/adler32.o


# Item # 105 -- compress --
build/compress.o : ../zlib-1.2.5/compress.c
	$(CC) $(CCE_OPTIONS) ../zlib-1.2.5/compress.c -c $(INCLUDE) -o build/compress.o


# Item # 106 -- crc32 --
build/crc32.o : ../zlib-1.2.5/crc32.c
	$(CC) $(CCE_OPTIONS) ../zlib-1.2.5/crc32.c -c $(INCLUDE) -o build/crc32.o


# Item # 107 -- deflate --
build/deflate.o : ../zlib-1.2.5/deflate.c
	$(CC) $(CCE_OPTIONS) ../zlib-1.2.5/deflate.c -c $(INCLUDE) -o build/deflate.o


# Item # 108 -- gzclose --
build/gzclose.o : ../zlib-1.2.5/gzclose.c
	$(CC) $(CCE_OPTIONS) ../zlib-1.2.5/gzclose.c -c $(INCLUDE) -o build/gzclose.o


# Item # 109 -- gzlib --
build/gzlib.o : ../zlib-1.2.5/gzlib.c
	$(CC) $(CCE_OPTIONS) ../zlib-1.2.5/gzlib.c -c $(INCLUDE) -o build/gzlib.o


# Item # 110 -- gzread --
build/gzread.o : ../zlib-1.2.5/gzread.c
	$(CC) $(CCE_OPTIONS) ../zlib-1.2.5/gzread.c -c $(INCLUDE) -o build/gzread.o


# Item # 111 -- gzwrite --
build/gzwrite.o : ../zlib-1.2.5/gzwrite.c
	$(CC) $(CCE_OPTIONS) ../zlib-1.2.5/gzwrite.c -c $(INCLUDE) -o build/gzwrite.o


# Item # 112 -- infback --
build/infback.o : ../zlib-1.2.5/infback.c
	$(CC) $(CCE_OPTIONS) ../zlib-1.2.5/infback.c -c $(INCLUDE) -o build/infback.o


# Item # 113 -- inffast --
build/inffast.o : ../zlib-1.2.5/inffast.c
	$(CC) $(CCE_OPTIONS) ../zlib-1.2.5/inffast.c -c $(INCLUDE) -o build/inffast.o


# Item # 114 -- inflate --
build/inflate.o : ../zlib-1.2.5/inflate.c
	$(CC) $(CCE_OPTIONS) ../zlib-1.2.5/inflate.c -c $(INCLUDE) -o build/inflate.o


# Item # 115 -- inftrees --
build/inftrees.o : ../zlib-1.2.5/inftrees.c
	$(CC) $(CCE_OPTIONS) ../zlib-1.2.5/inftrees.c -c $(INCLUDE) -o build/inftrees.o


# Item # 116 -- trees --
build/trees.o : ../zlib-1.2.5/trees.c
	$(CC) $(CCE_OPTIONS) ../zlib-1.2.5/trees.c -c $(INCLUDE) -o build/trees.o


# Item # 117 -- uncompr --
build/uncompr.o : ../zlib-1.2.5/uncompr.c
	$(CC) $(CCE_OPTIONS) ../zlib-1.2.5/uncompr.c -c $(INCLUDE) -o build/uncompr.o


# Item # 118 -- zutil --
build/zutil.o : ../zlib-1.2.5/zutil.c
	$(CC) $(CCE_OPTIONS) ../zlib-1.2.5/zutil.c -c $(INCLUDE) -o build/zutil.o