From dfc387644939aada1edb69f8f730e62f116f1ae3 Mon Sep 17 00:00:00 2001 From: mattkae Date: Sun, 1 May 2022 18:37:59 -0400 Subject: Fetching bunny model --- themes/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 themes/Makefile (limited to 'themes/Makefile') diff --git a/themes/Makefile b/themes/Makefile new file mode 100644 index 0000000..dce422e --- /dev/null +++ b/themes/Makefile @@ -0,0 +1,17 @@ +CXX = emcc +EXE = dist/output.js +SRCS = $(wildcard *.cpp) +OBJS = $(patsubst %.cpp,%.o,$(SRCS)) +LDFLAGS = -s ALLOW_MEMORY_GROWTH=1 -s USE_WEBGL2=1 -s FULL_ES3=1 -s WASM=1 -s NO_EXIT_RUNTIME=1 -s FETCH + +all: build $(EXE) + +$(EXE): $(OBJS) + echo $(OBJS) + $(CXX) -o $(EXE) $(OBJS) $(LDFLAGS) + +build: + @mkdir -p dist + +clean: + rm -rf dist \ No newline at end of file -- cgit v1.2.1