tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

Makefile (590B)


      1 ADD_TABLE = ../../../addTable.py
      2 
      3 all: test-fallback.wasm.ttf test-ot.wasm.ttf
      4 
      5 %.wasm: %.cc ../../../hb-wasm-api.h
      6 clang \
      7 	--target=wasm32-unknown-wasi \
      8 	-Wl,--no-entry \
      9 	-fvisibility=hidden \
     10 	-Wl,--allow-undefined \
     11 	-nostdlib \
     12 	-I ../../.. \
     13 	$< \
     14 	-o $@
     15 
     16 test-fallback.wasm.ttf: test.ttf shape-fallback.wasm $(ADD_TABLE)
     17 python $(ADD_TABLE) $< $@ shape-fallback.wasm
     18 
     19 test-ot.wasm.ttf: test.ttf shape-ot.wasm $(ADD_TABLE)
     20 python $(ADD_TABLE) $< $@ shape-ot.wasm
     21 
     22 clean:
     23 $(RM) test-fallback.wasm.ttf test-ot.wasm.ttf shape-fallback.wasm shape-ot.wasm
     24 
     25 .PRECIOUS: *.wasm