diff options
author | c | 2024-01-28 20:15:35 -0500 |
---|---|---|
committer | c | 2024-01-28 20:15:35 -0500 |
commit | 422606d8b3cc6fba74f97af46f0378fc274d60ad (patch) | |
tree | 34314628de5e3132cffc661901bd1e4c9b2aa0de /Makefile | |
parent | 87e0d4b3d23a7eb38f0e196eac333c318fef27ea (diff) |
Fixed things.
- Fixed `parser_nxt_token()` assuming the existance of a parser's token.
- Fixed block parsing.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |