Skip to content

Commit b84adb3

Browse files
miniupnpslouken
authored andcommitted
fix: do note assume "make", use $(MAKE)
(cherry picked from commit 1c96432)
1 parent 2847273 commit b84adb3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mingw/pkg-support/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ CROSS_PATH := /usr/local
55
ARCHITECTURES := i686-w64-mingw32 x86_64-w64-mingw32
66

77
all install:
8-
@echo "Type \"make native\" to install 32-bit to /usr"
9-
@echo "Type \"make cross\" to install 32-bit and 64-bit to $(CROSS_PATH)"
8+
@echo "Type \"$(MAKE) native\" to install 32-bit to /usr"
9+
@echo "Type \"$(MAKE) cross\" to install 32-bit and 64-bit to $(CROSS_PATH)"
1010

1111
native:
12-
make install-package arch=i686-w64-mingw32 prefix=/usr
12+
$(MAKE) install-package arch=i686-w64-mingw32 prefix=/usr
1313

1414
cross:
1515
mkdir -p $(CROSS_PATH)/cmake
1616
cp -rv cmake/* $(CROSS_PATH)/cmake
1717
for arch in $(ARCHITECTURES); do \
1818
mkdir -p $(CROSS_PATH)/$$arch; \
19-
make install-package arch=$$arch prefix=$(CROSS_PATH)/$$arch; \
19+
$(MAKE) install-package arch=$$arch prefix=$(CROSS_PATH)/$$arch; \
2020
done
2121

2222
install-package:

0 commit comments

Comments
 (0)