161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
-
-
+
+
|
$(SRCDIR)/winfile.c \
$(SRCDIR)/winhttp.c \
$(SRCDIR)/xfer.c \
$(SRCDIR)/xfersetup.c \
$(SRCDIR)/zip.c
EXTRA_FILES = \
$(SRCDIR)/../extsrc/pikchr-module.js \
$(SRCDIR)/../extsrc/pikchr-worker.js \
$(SRCDIR)/../extsrc/pikchr-worker.js \
$(SRCDIR)/../extsrc/pikchr.js \
$(SRCDIR)/../extsrc/pikchr.wasm \
$(SRCDIR)/../skins/ardoise/css.txt \
$(SRCDIR)/../skins/ardoise/details.txt \
$(SRCDIR)/../skins/ardoise/footer.txt \
$(SRCDIR)/../skins/ardoise/header.txt \
$(SRCDIR)/../skins/black_and_white/css.txt \
$(SRCDIR)/../skins/black_and_white/details.txt \
|
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
|
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
|
+
+
+
+
+
|
$(OBJDIR)/pikchr.o: $(SRCDIR_extsrc)/pikchr.c
$(XTCC) $(PIKCHR_OPTIONS) -c $(SRCDIR_extsrc)/pikchr.c -o $@
$(OBJDIR)/cson_amalgamation.o: $(SRCDIR_extsrc)/cson_amalgamation.c
$(XTCC) -c $(SRCDIR_extsrc)/cson_amalgamation.c -o $@
$(SRCDIR_extsrc)/pikchr.js: $(SRCDIR_extsrc)/pikchr.c
$(EMCC_WRAPPER) -o $@ $(EMCC_OPT) --no-entry -sEXPORTED_RUNTIME_METHODS=cwrap,setValue,getValue,stackSave,stackRestore -sEXPORTED_FUNCTIONS=_pikchr $(SRCDIR_extsrc)/pikchr.c -sENVIRONMENT=web -sMODULARIZE -sEXPORT_NAME=initPikchrModule --minify 0
@chmod -x $(SRCDIR_extsrc)/pikchr.wasm
wasm: $(SRCDIR_extsrc)/pikchr.js
#
# The list of all the targets that do not correspond to real files. This stops
# 'make' from getting confused when someone makes an error in a rule.
#
.PHONY: all install test clean
|