From bfc728476d8ac5edc6249ef2f9fa72ea11c7ffd7 Mon Sep 17 00:00:00 2001 From: moon Date: Thu, 21 Aug 2025 22:42:14 +0330 Subject: added jmp, jnz and jz --- pu2/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pu2/Makefile') diff --git a/pu2/Makefile b/pu2/Makefile index 05d9d3f..a211385 100644 --- a/pu2/Makefile +++ b/pu2/Makefile @@ -1,6 +1,10 @@ build: clang pu2.c -o pu2 -std=c89 -ffunction-sections -Wl,--gc-sections -O3 -march=native -mtune=native -flto -ffast-math -funroll-loops -fno-exceptions -flto +# i use this for building pu2 on a-Shell +build_wasi: + clang pu2.c -o pu2 -std=c89 -ffunction-sections -Wl,--gc-sections -O3 -ffast-math -funroll-loops -fno-exceptions -DPU2_BAD_CLOCK -DPU2_NO_ASM -DPU2_NO_MMAP -fno-rtti -fno-stack-protector -fomit-frame-pointer -Wno-format -Wno-#warnings + run: ./pu2 -- cgit v1.2.3