Fix Makefiles

This commit is contained in:
2021-04-24 15:51:55 +02:00
committed by Valeriano A.R
parent e968ba084f
commit 820f11e769
7 changed files with 52 additions and 65 deletions

View File

@@ -1,11 +1,10 @@
CC := emcc
AR := emar
LAUNCHER := emrun --port 8080
RM := del
RM := del /Q /S
MKDIR := mkdir
ECHO := echo
VERBOSE_BUILD := true
SLASH := \\
VERBOSE_BUILD := false
LIBS :=
CFLAGS := -s FULL_ES2=1 -s ASM_JS=1 -O1 -Wno-implicit-function-declaration -DEMSCRIPTEN
@@ -17,7 +16,6 @@ BUILDDIR := build-emscripten
ifeq ($(target),release)
CFLAGS := $(CFLAGS) -O2
BUILDDIR := build-emscripten-release
LDFLAGS := --preload-file data -s TOTAL_MEMORY=134217728 --emrun
endif
include Makefile.common.mk