diff options
| author | 2025-08-21 22:42:14 +0330 | |
|---|---|---|
| committer | 2025-08-21 22:42:14 +0330 | |
| commit | bfc728476d8ac5edc6249ef2f9fa72ea11c7ffd7 (patch) | |
| tree | d07ed416cd612f72de0977bf9a1643c17e66a773 /pu2/Makefile | |
| parent | added makefile (diff) | |
added jmp, jnz and jz
Diffstat (limited to 'pu2/Makefile')
| -rw-r--r-- | pu2/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
