aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authors-over-42023-06-22 23:55:25 -0400
committers-over-42023-06-22 23:55:25 -0400
commit3bc07458a69dc3a98370351c2c902ca6d5ff6bb9 (patch)
tree4d64d84d8cd51b3e9f4285cb9bfa837988278c0a /Makefile
parent240dd71319e28bfa61193732fedaa77f7afc11c3 (diff)
Makefile changes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files 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: