aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2025-04-03 18:26:02 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2025-04-03 18:26:02 +0300
commit441ddf9277f878b83c8d093def51b27285353fed (patch)
tree1ed16e2eca40da81227dc595981213f18c7a81e8
parent87a4b7a7b1743500bddb89bb53bc4b66a7465086 (diff)
downloadejit-alloca.tar.gz
ejit-alloca.zip
fix example compilationalloca
-rw-r--r--scripts/makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/makefile b/scripts/makefile
index bd02c98..5178359 100644
--- a/scripts/makefile
+++ b/scripts/makefile
@@ -68,13 +68,13 @@ libejit.a: $(EJIT_OBJS)
examples: examples/loop examples/fib examples/matrix_mult
examples/matrix_mult: examples/matrix_mult.c libejit.a
- $(COMPILE_EJIT) examples/matrix_mult.c libejit.a -o $@
+ $(COMPILE_EJIT) examples/matrix_mult.c libejit.a -o $@ -lm
examples/loop: examples/loop.c libejit.a
- $(COMPILE_EJIT) examples/loop.c libejit.a -o $@
+ $(COMPILE_EJIT) examples/loop.c libejit.a -o $@ -lm
examples/fib: examples/fib.c libejit.a
- $(COMPILE_EJIT) examples/fib.c libejit.a -o $@
+ $(COMPILE_EJIT) examples/fib.c libejit.a -o $@ -lm
# might lint some common things twice
.PHONY: