From f379f4befa924fae8568e545d9ac71180375f435 Mon Sep 17 00:00:00 2001 From: Stas Sergeev Date: Wed, 11 Sep 2024 23:46:16 +0300 Subject: [PATCH] make: allow clean even with old thunk-gen --- src/libc/dj64/makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libc/dj64/makefile b/src/libc/dj64/makefile index 240aa12b..48bdc56c 100644 --- a/src/libc/dj64/makefile +++ b/src/libc/dj64/makefile @@ -41,10 +41,12 @@ ifeq ($(filter clean,$(MAKECMDGOALS)),) $(error thunk_gen not installed) endif else +ifeq ($(filter clean,$(MAKECMDGOALS)),) $(shell pkg-config --atleast-version=1.1 thunk_gen) ifneq ($(.SHELLSTATUS),0) $(error thunk_gen is too old, 1.1 is needed) endif +endif TFLAGS = -a 4 -p 4 include $(TGMK) endif