This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# the --recursive is important, this has a submodule! | |
git clone --recursive https://github.com/asciinema/asciicast2gif.git | |
cd asciicast2gif | |
# If you forget to use --recursive you can do | |
git submodule init | |
git submodule update | |
# install npm dependencies | |
npm install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EMSCRIPTEN_HOME = ~/Documents/inbox/emscripten | |
PROJECT = myproject | |
SOURCES = $(wildcard *.cc) $(wildcard *.c) | |
OBJECTS = $(patsubst %.cc,%.o,$(patsubst %.c,%.o,$(SOURCES))) | |
set-native: | |
$(eval CXX := clang -x c++) | |
$(eval CC := clang) | |
$(eval CPPFLAGS := -g -O2 -DHAS_TR1) |