Skip to content

Commit 661ef7f

Browse files
committed
make: dont include dj64 for install/uninstall
1 parent 52135ea commit 661ef7f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/makefile.inc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,12 @@ $(AS_OBJECTS): $(PDHDR) $(srcdir)/asm.inc
5050
uninstall:
5151
rm -rf $(DESTDIR)$(DATADIR)
5252

53-
ifeq ($(filter static,$(MAKECMDGOALS)),)
53+
# static re-executes make, so we include that later
54+
ifeq ($(filter static install uninstall,$(MAKECMDGOALS)),)
5455
# hook in dj64 - make sure to not do that before defining `all:` target
5556
DJMK = $(shell pkg-config --variable=makeinc $(TOOLC))
5657
ifeq ($(wildcard $(DJMK)),)
57-
ifeq ($(filter install uninstall clean,$(MAKECMDGOALS)),)
58+
ifeq ($(filter clean,$(MAKECMDGOALS)),)
5859
$(error $(TOOLC)-dev not installed)
5960
endif
6061
clean_dj64:

0 commit comments

Comments
 (0)