2 # Generated Makefile - do not edit!
4 # Edit the Makefile in the project folder instead (../Makefile). Each target
5 # has a pre- and a post- target defined where you can add customization code.
7 # This makefile implements macros and targets common to all configurations.
12 # Building and Cleaning subprojects are done by default, but can be controlled with the SUB
13 # macro. If SUB=no, subprojects will not be built or cleaned. The following macro
14 # statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf
15 # and .clean-reqprojects-conf unless SUB has the value 'no'
17 SUBPROJECTS=${SUB_${SUB}}
18 BUILD_SUBPROJECTS_=.build-subprojects
20 BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}}
21 CLEAN_SUBPROJECTS_=.clean-subprojects
23 CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}}
29 # Active Configuration
34 ALLCONFS=Debug Release LinuxMingw
38 .build-impl: .build-pre .validate-impl .depcheck-impl
39 @#echo "=> Running $@... Configuration=$(CONF)"
40 ${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-conf
44 .clean-impl: .clean-pre .validate-impl .depcheck-impl
45 @#echo "=> Running $@... Configuration=$(CONF)"
46 ${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .clean-conf
50 .clobber-impl: .clobber-pre .depcheck-impl
51 @#echo "=> Running $@..."
52 for CONF in ${ALLCONFS}; \
54 ${MAKE} -f nbproject/Makefile-$${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .clean-conf; \
58 .all-impl: .all-pre .depcheck-impl
59 @#echo "=> Running $@..."
60 for CONF in ${ALLCONFS}; \
62 ${MAKE} -f nbproject/Makefile-$${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-conf; \
65 # dependency checking support
67 @echo "# This code depends on make tool being used" >.dep.inc
68 @if [ -n "${MAKE_VERSION}" ]; then \
69 echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES}))" >>.dep.inc; \
70 echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \
71 echo "include \$${DEPFILES}" >>.dep.inc; \
72 echo "endif" >>.dep.inc; \
74 echo ".KEEP_STATE:" >>.dep.inc; \
75 echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \
78 # configuration validation
80 @if [ ! -f nbproject/Makefile-${CONF}.mk ]; \
83 echo "Error: can not find the makefile for configuration '${CONF}' in project ${PROJECTNAME}"; \
84 echo "See 'make help' for details."; \
85 echo "Current directory: " `pwd`; \
88 @if [ ! -f nbproject/Makefile-${CONF}.mk ]; \
96 @echo "This makefile supports the following configurations:"
99 @echo "and the following targets:"
100 @echo " build (default target)"
106 @echo "Makefile Usage:"
107 @echo " make [CONF=<CONFIGURATION>] [SUB=no] build"
108 @echo " make [CONF=<CONFIGURATION>] [SUB=no] clean"
109 @echo " make [SUB=no] clobber"
110 @echo " make [SUB=no] all"
113 @echo "Target 'build' will build a specific configuration and, unless 'SUB=no',"
114 @echo " also build subprojects."
115 @echo "Target 'clean' will clean a specific configuration and, unless 'SUB=no',"
116 @echo " also clean subprojects."
117 @echo "Target 'clobber' will remove all built files from all configurations and,"
118 @echo " unless 'SUB=no', also from subprojects."
119 @echo "Target 'all' will will build all configurations and, unless 'SUB=no',"
120 @echo " also build subprojects."
121 @echo "Target 'help' prints this message."