2 # Windows makefile for C tools build.
4 # Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>
5 # This program and the accompanying materials
6 # are licensed and made available under the terms and conditions of the BSD License
7 # which accompanies this distribution. The full text of the license may be found at
8 # http://opensource.org/licenses/bsd-license.php
10 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 !INCLUDE Makefiles\ms.common
38 all: libs apps
install
42 @echo
######################
43 @echo
# Build libraries
44 @echo
######################
45 @if not exist
$(LIB_PATH
) mkdir
$(LIB_PATH
)
46 @Makefiles\NmakeSubdirs.bat
all $**
50 @echo
######################
51 @echo
# Build executables
52 @echo
######################
53 @if not exist
$(BIN_PATH
) mkdir
$(BIN_PATH
)
54 @Makefiles\NmakeSubdirs.bat
all $**
56 install: $(LIB_PATH
) $(BIN_PATH
)
58 @echo
######################
59 @echo
# Install to $(SYS_LIB_PATH)
60 @echo
# Install to $(SYS_BIN_PATH)
61 @echo
######################
62 @
-xcopy
$(LIB_PATH
)\
*.lib
$(SYS_LIB_PATH
) /I
/D
/E
/F
/Y
> NUL
2>&1
63 @
-xcopy
$(BIN_PATH
)\
*.exe
$(SYS_BIN_PATH
) /I
/D
/E
/F
/Y
> NUL
2>&1
64 @
-xcopy
$(BIN_PATH
)\
*.bat
$(SYS_BIN_PATH
) /I
/D
/E
/F
/Y
> NUL
2>&1
68 @Makefiles\NmakeSubdirs.bat
clean $(LIBRARIES
) $(APPLICATIONS
)
72 @Makefiles\NmakeSubdirs.bat cleanall
$(LIBRARIES
) $(APPLICATIONS
)
74 !INCLUDE Makefiles\ms.rule