From bfd38b1766b323848bfd5896d783fafdbd15a16b Mon Sep 17 00:00:00 2001 From: ZoRo Date: Fri, 23 Jul 2021 19:52:29 +0100 Subject: Fixed on Linux --- Build/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Build/Makefile') diff --git a/Build/Makefile b/Build/Makefile index 338fca8..5126c48 100644 --- a/Build/Makefile +++ b/Build/Makefile @@ -1,12 +1,13 @@ EMCC=emcc CC=gcc SOURCEDIR=../WasmAudio -LDFLAGS=-lSDL2 -lSDL2_ttf +LDFLAGS=-lSDL2 -lSDL2_ttf -lm EM_LDFALGS=-s USE_SDL=2 -s MAX_WEBGL_VERSION=2 -s MIN_WEBGL_VERSION=2 -s LLD_REPORT_UNDEFINED -s USE_GLFW=3 make: $(CC) -c $(SOURCEDIR)/../FIR/firmath.c -g3 $(CC) -c $(SOURCEDIR)/main.c -g3 + $(CC) main.o firmath.o -o WasmAudio $(LDFLAGS) emcc: $(EMCC) $(SOURCEDIR)/main.c ../FIR/firmath.c -s WASM=1 -O3 -o index.js $(EM_LDFALGS) -s EXTRA_EXPORTED_RUNTIME_METHODS='["ccall", "cwrap"]' -- cgit v1.2.3