From 422606d8b3cc6fba74f97af46f0378fc274d60ad Mon Sep 17 00:00:00 2001 From: c Date: Sun, 28 Jan 2024 20:15:35 -0500 Subject: Fixed things. - Fixed `parser_nxt_token()` assuming the existance of a parser's token. - Fixed block parsing. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 03203b4..0e61c64 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ BIN := halk PREFIX := /usr/local/bin CC := gcc -REG_CFLAGS := -ansi -O3 -s -DBG_CFLAGS := -ansi -Og -ggdb -pedantic +REG_CFLAGS := -std=c99 -O3 -s +DBG_CFLAGS := -std=c99 -Og -ggdb -pedantic DBG_CFLAGS += -Wall -Wextra -Wformat -Werror -Wpedantic DBG_CFLAGS += -fsanitize=leak,address,undefined -fno-omit-frame-pointer CFLAGS := $(REG_CFLAGS) @@ -35,7 +35,7 @@ dbg: CFLAGS := $(DBG_CFLAGS) dbg: dbg_options $(OBJS) $(CC) $(OBJS) $(DBG_CFLAGS) -o $(BIN).out -test: dbg $(TEST_OUTS) +test: clean dbg $(TEST_OUTS) set -e for f in $(TEST_OUTS); do ./$$f; done -- cgit v1.2.3