From fe9b770131b97ec01506ed23cc1c9e4f20d170a0 Mon Sep 17 00:00:00 2001 From: lemon Date: Mon, 16 Mar 2026 19:03:20 +0100 Subject: fix Makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 4030ab1..2a1f1b7 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ BINDIR=$(PREFIX)/bin -include config.mk -HOSTCC ?= $(CC) +TOOLCC ?= cc ifdef V V= @@ -35,7 +35,7 @@ dbg: CC:=clang dbg: $(OUT) tool/depgen: tool/depgen.c - $(CC) -Wall -g -o $@ $< + $(TOOLCC) -Wall -g -o $@ $< $(OUT): tool/depgen $(OBJ) $(CC) $(CFLAGS) -o $@ $(OBJ) @@ -55,7 +55,7 @@ clean-tool: $(RM) -r tool/depgen clean-config: clean - $(RM) -r config.mk hostconfig.h tool/depgen + $(RM) -r config.mk hostconfig.h install: all @mkdir -p "$(DESTDIR)$(BINDIR)" -- cgit v1.2.3