aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2026-03-16 19:03:20 +0100
committerlemon <lsof@mailbox.org>2026-03-16 19:03:20 +0100
commitfe9b770131b97ec01506ed23cc1c9e4f20d170a0 (patch)
treebe129f6a4ff6e6aa5fe9be29f665833de561dcfc /Makefile
parent28261b6b1b55184ce7084eb14cdcb42edc7f8480 (diff)
fix Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files 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)"