Skip to content

Commit

Permalink
make: allow clean even with old thunk-gen
Browse files Browse the repository at this point in the history
  • Loading branch information
stsp committed Sep 11, 2024
1 parent b186cc0 commit f379f4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libc/dj64/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f379f4b

Please sign in to comment.