-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathMakefile.winnt
More file actions
37 lines (27 loc) · 933 Bytes
/
Makefile.winnt
File metadata and controls
37 lines (27 loc) · 933 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
32
33
34
35
36
37
# Makefile.winnt for coLinux (mingw32)
# Host System architecture
export COLINUX_HOST_OS := winnt
# Host system variables and directories
PREFIX := $(shell . $(USER_CFG); echo $$PREFIX)
# Need some variables and PATH of cross compiler in make.
export PATH := $(PATH):$(PREFIX)/bin
.PHONY: all cross cross libs kernel download package installer
all: cross libs kernel colinux
#
# Check tools and targets via md5sum
#
cross:
@cd bin && ./build-cross.sh
libs:
@cd bin && ./build-colinux-libs.sh
# Download only all missing sources (for cross compile)
download:
@cd bin && ./build-all.sh --download-only
# Create a pre-distributabel package as ZIP
package: src/colinux/os/winnt/build/linux.sys
@cd bin && ./premaid.sh --update
@. bin/build-common.sh ; build_package
# Create installer (need wine and running X11)
installer: src/colinux/os/winnt/build/linux.sys
@cd bin && ./premaid.sh --update
@cd src && make installer