BaseTools/Scripts: Add sample makefile for use with RunMakefile.py
[mirror_edk2.git] / BaseTools / Scripts / RunMakefileSample.mak
1 ## @file
2 # Sample makefile for PREBUILD or POSTBUILD action.
3 #
4 # Copyright (c) 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
9 #
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.
12 #
13
14 all: show
15 @echo $@
16 genc: show
17 @echo $@
18 genmake: show
19 @echo $@
20 modules: show
21 @echo $@
22 libraries: show
23 @echo $@
24 fds: show
25 @echo $@
26 clean: show
27 @echo $@
28 cleanall: show
29 @echo $@
30 cleanlib: show
31 @echo $@
32 run: show
33 @echo $@
34
35 show:
36 @echo WORKSPACE........ $(WORKSPACE)
37 @echo PACKAGES_PATH.... $(PACKAGES_PATH)
38 @echo ACTIVE_PLATFORM.. $(ACTIVE_PLATFORM)
39 @echo TARGET_ARCH...... $(TARGET_ARCH)
40 @echo TOOL_CHAIN_TAG... $(TOOL_CHAIN_TAG)
41 @echo CONF_DIRECTORY... $(CONF_DIRECTORY)
42 @echo TARGET........... $(TARGET)
43 @echo EXTRA_FLAGS...... $(EXTRA_FLAGS)