c++/parameter-lister/Makefile
author František Kučera <franta-hg@frantovo.cz>
Sun, 03 May 2015 01:25:03 +0200
changeset 0 7399cb02184b
permissions -rw-r--r--
c++ netbeans project created
franta-hg@0
     1
#
franta-hg@0
     2
#  There exist several targets which are by default empty and which can be 
franta-hg@0
     3
#  used for execution of your targets. These targets are usually executed 
franta-hg@0
     4
#  before and after some main targets. They are: 
franta-hg@0
     5
#
franta-hg@0
     6
#     .build-pre:              called before 'build' target
franta-hg@0
     7
#     .build-post:             called after 'build' target
franta-hg@0
     8
#     .clean-pre:              called before 'clean' target
franta-hg@0
     9
#     .clean-post:             called after 'clean' target
franta-hg@0
    10
#     .clobber-pre:            called before 'clobber' target
franta-hg@0
    11
#     .clobber-post:           called after 'clobber' target
franta-hg@0
    12
#     .all-pre:                called before 'all' target
franta-hg@0
    13
#     .all-post:               called after 'all' target
franta-hg@0
    14
#     .help-pre:               called before 'help' target
franta-hg@0
    15
#     .help-post:              called after 'help' target
franta-hg@0
    16
#
franta-hg@0
    17
#  Targets beginning with '.' are not intended to be called on their own.
franta-hg@0
    18
#
franta-hg@0
    19
#  Main targets can be executed directly, and they are:
franta-hg@0
    20
#  
franta-hg@0
    21
#     build                    build a specific configuration
franta-hg@0
    22
#     clean                    remove built files from a configuration
franta-hg@0
    23
#     clobber                  remove all built files
franta-hg@0
    24
#     all                      build all configurations
franta-hg@0
    25
#     help                     print help mesage
franta-hg@0
    26
#  
franta-hg@0
    27
#  Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and
franta-hg@0
    28
#  .help-impl are implemented in nbproject/makefile-impl.mk.
franta-hg@0
    29
#
franta-hg@0
    30
#  Available make variables:
franta-hg@0
    31
#
franta-hg@0
    32
#     CND_BASEDIR                base directory for relative paths
franta-hg@0
    33
#     CND_DISTDIR                default top distribution directory (build artifacts)
franta-hg@0
    34
#     CND_BUILDDIR               default top build directory (object files, ...)
franta-hg@0
    35
#     CONF                       name of current configuration
franta-hg@0
    36
#     CND_PLATFORM_${CONF}       platform name (current configuration)
franta-hg@0
    37
#     CND_ARTIFACT_DIR_${CONF}   directory of build artifact (current configuration)
franta-hg@0
    38
#     CND_ARTIFACT_NAME_${CONF}  name of build artifact (current configuration)
franta-hg@0
    39
#     CND_ARTIFACT_PATH_${CONF}  path to build artifact (current configuration)
franta-hg@0
    40
#     CND_PACKAGE_DIR_${CONF}    directory of package (current configuration)
franta-hg@0
    41
#     CND_PACKAGE_NAME_${CONF}   name of package (current configuration)
franta-hg@0
    42
#     CND_PACKAGE_PATH_${CONF}   path to package (current configuration)
franta-hg@0
    43
#
franta-hg@0
    44
# NOCDDL
franta-hg@0
    45
franta-hg@0
    46
franta-hg@0
    47
# Environment 
franta-hg@0
    48
MKDIR=mkdir
franta-hg@0
    49
CP=cp
franta-hg@0
    50
CCADMIN=CCadmin
franta-hg@0
    51
franta-hg@0
    52
franta-hg@0
    53
# build
franta-hg@0
    54
build: .build-post
franta-hg@0
    55
franta-hg@0
    56
.build-pre:
franta-hg@0
    57
# Add your pre 'build' code here...
franta-hg@0
    58
franta-hg@0
    59
.build-post: .build-impl
franta-hg@0
    60
# Add your post 'build' code here...
franta-hg@0
    61
franta-hg@0
    62
franta-hg@0
    63
# clean
franta-hg@0
    64
clean: .clean-post
franta-hg@0
    65
franta-hg@0
    66
.clean-pre:
franta-hg@0
    67
# Add your pre 'clean' code here...
franta-hg@0
    68
franta-hg@0
    69
.clean-post: .clean-impl
franta-hg@0
    70
# Add your post 'clean' code here...
franta-hg@0
    71
franta-hg@0
    72
franta-hg@0
    73
# clobber
franta-hg@0
    74
clobber: .clobber-post
franta-hg@0
    75
franta-hg@0
    76
.clobber-pre:
franta-hg@0
    77
# Add your pre 'clobber' code here...
franta-hg@0
    78
franta-hg@0
    79
.clobber-post: .clobber-impl
franta-hg@0
    80
# Add your post 'clobber' code here...
franta-hg@0
    81
franta-hg@0
    82
franta-hg@0
    83
# all
franta-hg@0
    84
all: .all-post
franta-hg@0
    85
franta-hg@0
    86
.all-pre:
franta-hg@0
    87
# Add your pre 'all' code here...
franta-hg@0
    88
franta-hg@0
    89
.all-post: .all-impl
franta-hg@0
    90
# Add your post 'all' code here...
franta-hg@0
    91
franta-hg@0
    92
franta-hg@0
    93
# build tests
franta-hg@0
    94
build-tests: .build-tests-post
franta-hg@0
    95
franta-hg@0
    96
.build-tests-pre:
franta-hg@0
    97
# Add your pre 'build-tests' code here...
franta-hg@0
    98
franta-hg@0
    99
.build-tests-post: .build-tests-impl
franta-hg@0
   100
# Add your post 'build-tests' code here...
franta-hg@0
   101
franta-hg@0
   102
franta-hg@0
   103
# run tests
franta-hg@0
   104
test: .test-post
franta-hg@0
   105
franta-hg@0
   106
.test-pre: build-tests
franta-hg@0
   107
# Add your pre 'test' code here...
franta-hg@0
   108
franta-hg@0
   109
.test-post: .test-impl
franta-hg@0
   110
# Add your post 'test' code here...
franta-hg@0
   111
franta-hg@0
   112
franta-hg@0
   113
# help
franta-hg@0
   114
help: .help-post
franta-hg@0
   115
franta-hg@0
   116
.help-pre:
franta-hg@0
   117
# Add your pre 'help' code here...
franta-hg@0
   118
franta-hg@0
   119
.help-post: .help-impl
franta-hg@0
   120
# Add your post 'help' code here...
franta-hg@0
   121
franta-hg@0
   122
franta-hg@0
   123
franta-hg@0
   124
# include project implementation makefile
franta-hg@0
   125
include nbproject/Makefile-impl.mk
franta-hg@0
   126
franta-hg@0
   127
# include project make variables
franta-hg@0
   128
include nbproject/Makefile-variables.mk