From 3bc07458a69dc3a98370351c2c902ca6d5ff6bb9 Mon Sep 17 00:00:00 2001 From: s-over-4 Date: Thu, 22 Jun 2023 23:55:25 -0400 Subject: Makefile changes --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index fa953ca..0550a72 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ BINDIR := $(PREFIX)/bin BIN := halk TMPBIN := halk.out CC := gcc -FLAGS := +FLAGS := -O3 DEVFLAGS := -ggdb -fsanitize=leak,address,undefined -fno-omit-frame-pointer SRCS := $(wildcard src/*.c) SRCS := $(filter-out src/parser.c, $(SRCS)) # exclude the incomplete parser for now. @@ -28,8 +28,7 @@ devoptions: HALK: $(OBJS) $(CC) $(OBJS) $(FLAGS) -o $(TMPBIN) -dev: $(OBJS) - @make devoptions +dev: devoptions $(OBJS) $(CC) $(OBJS) $(DEVFLAGS) -o $(TMPBIN) install: -- cgit v1.2.3