aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosty <gabriel@bwaaa.monster>2026-04-29 20:47:44 -0400
committerdacctal <dacctal@symlinx.net>2026-04-30 01:44:16 +0000
commitc555d4c25b5526c37e94ee2c593f34bdf28b159e (patch)
treef57c97badff782a48247ce37e4911985e0df4588
parent30023fdce4f1667e84333094005f9a9e4a036939 (diff)
fixed debug
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
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