xref: /btstack/port/archive/pic32-harmony/app.X/nbproject/Makefile-impl.mk (revision bfc39f3e53bffb178d46475fc3f3e00a92502490)
1*bfc39f3eSMatthias Ringwald#
2*bfc39f3eSMatthias Ringwald# Generated Makefile - do not edit!
3*bfc39f3eSMatthias Ringwald#
4*bfc39f3eSMatthias Ringwald# Edit the Makefile in the project folder instead (../Makefile). Each target
5*bfc39f3eSMatthias Ringwald# has a pre- and a post- target defined where you can add customization code.
6*bfc39f3eSMatthias Ringwald#
7*bfc39f3eSMatthias Ringwald# This makefile implements macros and targets common to all configurations.
8*bfc39f3eSMatthias Ringwald#
9*bfc39f3eSMatthias Ringwald# NOCDDL
10*bfc39f3eSMatthias Ringwald
11*bfc39f3eSMatthias Ringwald
12*bfc39f3eSMatthias Ringwald# Building and Cleaning subprojects are done by default, but can be controlled with the SUB
13*bfc39f3eSMatthias Ringwald# macro. If SUB=no, subprojects will not be built or cleaned. The following macro
14*bfc39f3eSMatthias Ringwald# statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf
15*bfc39f3eSMatthias Ringwald# and .clean-reqprojects-conf unless SUB has the value 'no'
16*bfc39f3eSMatthias RingwaldSUB_no=NO
17*bfc39f3eSMatthias RingwaldSUBPROJECTS=${SUB_${SUB}}
18*bfc39f3eSMatthias RingwaldBUILD_SUBPROJECTS_=.build-subprojects
19*bfc39f3eSMatthias RingwaldBUILD_SUBPROJECTS_NO=
20*bfc39f3eSMatthias RingwaldBUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}}
21*bfc39f3eSMatthias RingwaldCLEAN_SUBPROJECTS_=.clean-subprojects
22*bfc39f3eSMatthias RingwaldCLEAN_SUBPROJECTS_NO=
23*bfc39f3eSMatthias RingwaldCLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}}
24*bfc39f3eSMatthias Ringwald
25*bfc39f3eSMatthias Ringwald
26*bfc39f3eSMatthias Ringwald# Project Name
27*bfc39f3eSMatthias RingwaldPROJECTNAME=app.X
28*bfc39f3eSMatthias Ringwald
29*bfc39f3eSMatthias Ringwald# Active Configuration
30*bfc39f3eSMatthias RingwaldDEFAULTCONF=default
31*bfc39f3eSMatthias RingwaldCONF=${DEFAULTCONF}
32*bfc39f3eSMatthias Ringwald
33*bfc39f3eSMatthias Ringwald# All Configurations
34*bfc39f3eSMatthias RingwaldALLCONFS=default
35*bfc39f3eSMatthias Ringwald
36*bfc39f3eSMatthias Ringwald
37*bfc39f3eSMatthias Ringwald# build
38*bfc39f3eSMatthias Ringwald.build-impl: .build-pre
39*bfc39f3eSMatthias Ringwald	${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-conf
40*bfc39f3eSMatthias Ringwald
41*bfc39f3eSMatthias Ringwald
42*bfc39f3eSMatthias Ringwald# clean
43*bfc39f3eSMatthias Ringwald.clean-impl: .clean-pre
44*bfc39f3eSMatthias Ringwald	${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .clean-conf
45*bfc39f3eSMatthias Ringwald
46*bfc39f3eSMatthias Ringwald# clobber
47*bfc39f3eSMatthias Ringwald.clobber-impl: .clobber-pre .depcheck-impl
48*bfc39f3eSMatthias Ringwald	    ${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default clean
49*bfc39f3eSMatthias Ringwald
50*bfc39f3eSMatthias Ringwald
51*bfc39f3eSMatthias Ringwald
52*bfc39f3eSMatthias Ringwald# all
53*bfc39f3eSMatthias Ringwald.all-impl: .all-pre .depcheck-impl
54*bfc39f3eSMatthias Ringwald	    ${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default build
55*bfc39f3eSMatthias Ringwald
56*bfc39f3eSMatthias Ringwald
57*bfc39f3eSMatthias Ringwald
58*bfc39f3eSMatthias Ringwald# dependency checking support
59*bfc39f3eSMatthias Ringwald.depcheck-impl:
60*bfc39f3eSMatthias Ringwald#	@echo "# This code depends on make tool being used" >.dep.inc
61*bfc39f3eSMatthias Ringwald#	@if [ -n "${MAKE_VERSION}" ]; then \
62*bfc39f3eSMatthias Ringwald#	    echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES}))" >>.dep.inc; \
63*bfc39f3eSMatthias Ringwald#	    echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \
64*bfc39f3eSMatthias Ringwald#	    echo "include \$${DEPFILES}" >>.dep.inc; \
65*bfc39f3eSMatthias Ringwald#	    echo "endif" >>.dep.inc; \
66*bfc39f3eSMatthias Ringwald#	else \
67*bfc39f3eSMatthias Ringwald#	    echo ".KEEP_STATE:" >>.dep.inc; \
68*bfc39f3eSMatthias Ringwald#	    echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \
69*bfc39f3eSMatthias Ringwald#	fi
70