docs.sheetjs.com/docz/static/chakra/Makefile

14 lines
502 B
Makefile
Raw Normal View History

2023-04-09 06:58:43 +00:00
CC=g++
CHAKRALIB=ChakraCore/out/Test/lib/libChakraCoreStatic.a
ICU4C=/usr/local/opt/icu4c/lib
ICULIB=$(ICU4C)/libicudata.a $(ICU4C)/libicuuc.a $(ICU4C)/libicui18n.a
CFLAGS=-lstdc++ -std=c++11 -IChakraCore/lib/Jsrt
sheetjs.ch: sheetjs.ch.cpp
g++ $< $(CFLAGS) -Wl,-force_load $(CHAKRALIB) $(ICULIB) -framework CoreFoundation -framework Security -lm -ldl -Wno-c++11-compat-deprecated-writable-strings -Wno-deprecated-declarations -Wno-unknown-warning-option -o $@
.PHONY: clean
clean:
rm sheetjs.ch