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
37 all: libs apps
install
41 @echo
######################
42 @echo
# Build libraries
43 @echo
######################
44 @if not exist
$(LIB_PATH
) mkdir
$(LIB_PATH
)
45 @Makefiles\NmakeSubdirs.bat
all $**
49 @echo
######################
50 @echo
# Build executables
51 @echo
######################
52 @if not exist
$(BIN_PATH
) mkdir
$(BIN_PATH
)
53 @Makefiles\NmakeSubdirs.bat
all $**
55 install: $(LIB_PATH
) $(BIN_PATH
)
57 @echo
######################
58 @echo
# Install to $(SYS_LIB_PATH)
59 @echo
# Install to $(SYS_BIN_PATH)
60 @echo
######################
61 @
-xcopy
$(LIB_PATH
)\
*.lib
$(SYS_LIB_PATH
) /I
/D
/E
/F
/Y
> NUL
2>&1
62 @
-xcopy
$(BIN_PATH
)\
*.exe
$(SYS_BIN_PATH
) /I
/D
/E
/F
/Y
> NUL
2>&1
63 @
-xcopy
$(BIN_PATH
)\
*.bat
$(SYS_BIN_PATH
) /I
/D
/E
/F
/Y
> NUL
2>&1
67 @Makefiles\NmakeSubdirs.bat
clean $(LIBRARIES
) $(APPLICATIONS
)
71 @Makefiles\NmakeSubdirs.bat cleanall
$(LIBRARIES
) $(APPLICATIONS
)
73 !INCLUDE Makefiles\ms.rule