16 lines
334 B
Makefile
16 lines
334 B
Makefile
# 16 october 2015
|
|
|
|
EXESUFFIX = .exe
|
|
LIBSUFFIX = .dll
|
|
|
|
# TODO only when cross-compiling?
|
|
ifeq ($(ARCH),amd64)
|
|
CC = x86_64-w64-mingw32-gcc
|
|
RC = x86_64-w64-mingw32-windres
|
|
else ifeq ($(ARCH),386)
|
|
CC = i686-w64-mingw32-gcc
|
|
RC = i686-w64-mingw32-windres
|
|
else ifneq ($(ARCH),default)
|
|
$(error [FAIL] unknown architecture $(ARCH))
|
|
endif
|