forked from sheetjs/docs.sheetjs.com
14 lines
502 B
Makefile
14 lines
502 B
Makefile
|
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
|