aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorforever2k38 <forever2k38@noreply.codeberg.org>2026-09-02 15:30:34 +0200
committerforever2k38 <forever2k38@noreply.codeberg.org>2026-09-02 15:30:34 +0200
commited979ea2b7cc0caf3abb47dce94e02ef16c73e65 (patch)
tree86ee7fda3e9fe8c708391c25e95e2b11b7aa53de /Makefile
parenta2cb6e5b16bd8f5eddd778f813f3a9068be44e46 (diff)
lua work
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4d60105..158a7b9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CC=cc
+CC?=cc
BIN_EXT =
MKDIR = mkdir -p $(OUT_DIR) $(dir $@)
@@ -6,8 +6,8 @@ RM = rm -rf
CFLAGS=-Wall -Wpedantic
-LIBFLAGS=$(shell pkg-config --cflags --libs lua55)
-DEBUG_CFLAGS=-g
+LIBFLAGS=$(shell pkg-config --cflags --libs lua55) $(shell pkg-config --cflags --libs libarchive)
+DEBUG_CFLAGS=-g -fsanitize=address
SRC_DIR=src
OUT_DIR=out