aboutsummaryrefslogtreecommitdiff
path: root/pu2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pu2/Makefile')
-rw-r--r--pu2/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/pu2/Makefile b/pu2/Makefile
index aa1f325..68fbcd0 100644
--- a/pu2/Makefile
+++ b/pu2/Makefile
@@ -1,6 +1,9 @@
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
+build_fast:
+ clang pu2.c -o pu2 -std=c89 -O0 -g
+
# 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