We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c23d064 commit 7ffe0e2Copy full SHA for 7ffe0e2
example/DllLoader/Makefile
@@ -1,9 +1,12 @@
1
UNAME := $(shell uname)
2
3
ifeq ($(UNAME), Linux)
4
-CC = i686-w64-mingw32-gcc
5
-CXX = i686-w64-mingw32-g++
6
-LINK = i686-w64-mingw32-ld
+ifndef PLATFORM
+PLATFORM = i686
+endif
7
+CC = $(PLATFORM)-w64-mingw32-gcc
8
+CXX = $(PLATFORM)-w64-mingw32-g++
9
+LINK = $(PLATFORM)-w64-mingw32-ld
10
else
11
CC = gcc
12
CXX = g++
example/SampleDLL/Makefile
0 commit comments