-
Notifications
You must be signed in to change notification settings - Fork 97
/
Copy pathNMakefile
44 lines (37 loc) · 1.81 KB
/
NMakefile
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
38
39
40
41
42
43
44
###############################################################################
# #
# File name NMakefile #
# #
# Description An NMake file for making all SysToolLib libs & programs #
# #
# Notes make.bat looks for a default nmake file called NMakeFile. #
# #
# History #
# 2020-12-16 JFL [email protected] created this file. #
# 2024-10-15 JFL Adapted for use with the redesigned NMaker system. #
# #
# © Copyright 2020 Hewlett Packard Enterprise Development LP #
# Licensed under the Apache 2.0 license - www.apache.org/licenses/LICENSE-2.0 #
###############################################################################
TEST_OS=DOS WIN95 WIN32 THIS # Build versions for these OSs when testing
default: all
# This help definition overrides the second one included in All.mak below.
help: NUL
type <<
Usage: make.bat [options] [nmake_options] [macro_definitions] [targets] ...
Macro definitions: (They must be quoted, else the = sign will be lost)
"DEBUG=1" Generate the debug version. <==> Target in a Debug\ dir.
"OS=BIOS DOS WIN95 WIN32 WIN64 ARM ARM64" List of target OSs to build for
"WINVER=4.0" Target OS version. 4.0=Win95/NT4, 5.1=WinXP, 6.1=Win7
Targets:
all Build all available C/C++ sources (default)
clean Erase all output files
distclean Erase all output files and all configuration files
release Generate a SysTools.zip release
source-release Generate a SysTools-src.zip release
<<
# Include common definitions
!INCLUDE <All.mak>
# These targets are actually implemented in the C directory's NMakefile
release source-release: NUL
$(BMAKE) -C C $@