generalization of syscalls
This commit is contained in:
+3
-2
@@ -1,8 +1,8 @@
|
||||
CC = clang
|
||||
RELEASE ?= 0 # Optimize.
|
||||
DEBUG ?= 1 # Emit debug info.
|
||||
DEBUG ?= 1 # Emit debug info.
|
||||
SQUEEZE ?= 0 # Nuclear option to save space.
|
||||
BITS ?= 64
|
||||
BITS ?= 64
|
||||
CFLAGS = -Wall -std=gnu99 -flto=thin -ffast-math -fno-ident -fvisibility=hidden
|
||||
ifeq ($(MAKECMDGOALS),linux)
|
||||
ifeq ($(RELEASE), 1)
|
||||
@@ -59,6 +59,7 @@ wasm: CFLAGS += --target=wasm32 -nostdlib -Wl,--no-entry -msimd128 -mbulk-memory
|
||||
wasm:
|
||||
$(CC) -o player.wasm $(WASM) $(CFLAGS)
|
||||
|
||||
# TODO: Use https://github.com/amindlost/pmodew
|
||||
dos: $(DOS) $(DEPS)
|
||||
wcl386 -bt=dos4g -ox -l=dos4g $(DOS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user