From c555d4c25b5526c37e94ee2c593f34bdf28b159e Mon Sep 17 00:00:00 2001 From: frosty Date: Wed, 29 Apr 2026 20:47:44 -0400 Subject: fixed debug --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7fa9481..250767a 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +.PHONY: debug install defconfig clean + CC = clang++ RM = rm -f PREFIX ?= /usr/local @@ -17,8 +19,8 @@ $(OBJDIR): $(OBJDIR)/%.o: src/%.cc | $(OBJDIR) ${CC} $(CXXFLAGS) -c -o $@ $< -debug: src/*.cc - ${CC} -o pkgit src/*.cc ${CXXFLAGS} ${LDFLAGS} -g -O0 +debug: CXXFLAGS += -g -O0 +debug: pkgit install: pkgit install -d ${DESTDIR}${PREFIX}/bin -- cgit v1.2.3