2 # Windows makefile for C tools build.
4 # Copyright (c) 2009 - 2014, 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
36 all: libs apps
install
40 @echo
######################
41 @echo
# Build libraries
42 @echo
######################
43 @if not exist
$(LIB_PATH
) mkdir
$(LIB_PATH
)
44 @Makefiles\NmakeSubdirs.bat
all $**
48 @echo
######################
49 @echo
# Build executables
50 @echo
######################
51 @if not exist
$(BIN_PATH
) mkdir
$(BIN_PATH
)
52 @Makefiles\NmakeSubdirs.bat
all $**
54 install: $(LIB_PATH
) $(BIN_PATH
)
56 @echo
######################
57 @echo
# Install to $(SYS_LIB_PATH)
58 @echo
# Install to $(SYS_BIN_PATH)
59 @echo
######################
60 @
-xcopy
$(LIB_PATH
)\
*.lib
$(SYS_LIB_PATH
) /I
/D
/E
/F
/Y
> NUL
2>&1
61 @
-xcopy
$(BIN_PATH
)\
*.exe
$(SYS_BIN_PATH
) /I
/D
/E
/F
/Y
> NUL
2>&1
62 @
-xcopy
$(BIN_PATH
)\
*.bat
$(SYS_BIN_PATH
) /I
/D
/E
/F
/Y
> NUL
2>&1
66 @Makefiles\NmakeSubdirs.bat
clean $(LIBRARIES
) $(APPLICATIONS
)
70 @Makefiles\NmakeSubdirs.bat cleanall
$(LIBRARIES
) $(APPLICATIONS
)
72 !INCLUDE Makefiles\ms.rule