commit a84b6b9cc0e5bda509dffa1e86b3b6c9112943f9
parent 3050f7adee02d83cc11e5cd802a71f957607e3e2
Author: NunoSempere <nuno.sempere@protonmail.com>
Date: Sun, 21 May 2023 01:46:22 -0400
tweak C makefile
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/C/samples/makefile b/C/samples/makefile
@@ -35,11 +35,11 @@ format: $(SRC)
run: $(SRC) $(OUTPUT)
echo "Increasing stack size limit, because we are dealing with 1M samples"
- ulimit -Ss 256000
- # ^ Increase stack size limit
+ # ulimit: increase stack size limit
# -Ss: the soft limit. If you set the hard limit, you then can't raise it
# 256000: around 250Mbs, if I'm reading it correctly.
- ./$(OUTPUT)
+ # Then run the program
+ ulimit -Ss 256000 && ./$(OUTPUT)