aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-06-05 16:24:21 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-06-05 16:24:21 +0330
commitc506c3458a07485169cc38ce27d5cf21601136c2 (patch)
tree6f41a300d2ee4a503a97fbeafa3e509133f02d63 /Makefile
parent3a079c1da7508839088c0c70795819692954eb43 (diff)
trying to add macro
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index d713229..a2e443e 100644
--- a/Makefile
+++ b/Makefile
@@ -75,11 +75,11 @@ test/big.felan: Makefile
echo "main :: () -> void {" > $@
for((n = 0;n < 1000000;n++)); do echo " print('1');" >> $@; done
echo "};" >> $@
- echo "libc :: @c_library(\"/lib/libc.so.6\");" >> $@
- echo "putchar :: @c_function(libc,\"putchar\",(i32)->i32);" >> $@
+ # echo "libc :: @c_library(\"/lib/libc.so.6\");" >> $@
+ # echo "putchar :: @c_function(libc,\"putchar\",(i32)->i32);" >> $@
echo "print :: (value:u8) -> void {" >> $@
- echo " putchar(@cast(value,i32));" >> $@
- # echo " @putc(value);" >> $@
+ # echo " putchar(@cast(value,i32));" >> $@
+ echo " @putc(value);" >> $@
echo "};" >> $@
# $@ = left hand of :