From 1cc7990ef7d5483d0434dda412f2d88e0b17df27 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 20 Apr 2024 03:39:40 +0300 Subject: initial working bytecode --- scripts/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/makefile b/scripts/makefile index fc1eb58..cf8a07e 100644 --- a/scripts/makefile +++ b/scripts/makefile @@ -29,7 +29,7 @@ WARNFLAGS = -Wall -Wextra -Wvla COMPILE_FLAGS = $(CFLAGS) $(WARNFLAGS) $(OPTFLAGS) $(OBFLAGS) $(ASSERTFLAGS) \ $(DEBUGFLAGS) -LINK_FLAGS = $(LDFLAGS) +LINK_FLAGS = $(LDFLAGS) -lm INCLUDE_FLAGS = -I include @@ -50,7 +50,7 @@ gen/gen_lexer.inc: src/lexer.l flex -o gen/gen_lexer.inc src/lexer.l posthaste: $(POSTHASTE_OBJS) - $(COMPILE_POSTHASTE) $(POSTHASTE_OBJS) -o $@ + $(COMPILE_POSTHASTE) $(POSTHASTE_OBJS) -o $@ $(LINK_FLAGS) # might lint some common things twice .PHONY: -- cgit v1.2.3