diff options
| author | frosty <gabriel@bwaaa.monster> | 2026-04-29 20:47:44 -0400 |
|---|---|---|
| committer | dacctal <dacctal@symlinx.net> | 2026-04-30 01:44:16 +0000 |
| commit | c555d4c25b5526c37e94ee2c593f34bdf28b159e (patch) | |
| tree | f57c97badff782a48247ce37e4911985e0df4588 | |
| parent | 30023fdce4f1667e84333094005f9a9e4a036939 (diff) | |
fixed debug
| -rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |
