-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile.Win
More file actions
31 lines (25 loc) · 754 Bytes
/
Makefile.Win
File metadata and controls
31 lines (25 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
################################################################
# Windows rules
################################################################
config-win-%:
./config.sh --platform win-$*
compile-win-%:
# windows builds occur under Wine
cd build-win-$* && $(WINE) /K ../make.cmd
check-win-%:
# windows builds occur under Wine
cd build-win-$* && $(WINE) /K ../make.cmd check
$(MAKE) check-common-win-$*
all-win-%:
$(MAKE) config-win-$*
$(MAKE) compile-win-$*
$(addsuffix -win,all config compile): %: %-x86
# Dummy rules for Windows x86-64 builds
# TODO Replace with real rules
config-win-x86_64:
mkdir -p build-win-x86_64
compile-win-x86_64:
mkdir -p win-x86_64-bin
all-win-x86_64:
$(MAKE) config-win-x86_64
$(MAKE) compile-win-x86_64