Subversion Repositories MB01 Project

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 - 1
#
2
# Generated Makefile - do not edit!
3
#
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 customized code.
6
#
7
# This makefile implements configuration specific macros and targets.
8
 
9
 
10
# Include project Makefile
11
ifeq "${IGNORE_LOCAL}" "TRUE"
12
# do not include local makefile. User is passing all local related variables already
13
else
14
include Makefile
15
# Include makefile containing local settings
16
ifeq "$(wildcard nbproject/Makefile-local-default.mk)" "nbproject/Makefile-local-default.mk"
17
include nbproject/Makefile-local-default.mk
18
endif
19
endif
20
 
21
# Environment
22
MKDIR=gnumkdir -p
23
RM=rm -f
24
MV=mv
25
CP=cp
26
 
27
# Macros
28
CND_CONF=default
29
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
30
IMAGE_TYPE=debug
31
OUTPUT_SUFFIX=cof
32
DEBUGGABLE_SUFFIX=cof
33
FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/KEYBPS2.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
34
else
35
IMAGE_TYPE=production
36
OUTPUT_SUFFIX=hex
37
DEBUGGABLE_SUFFIX=cof
38
FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/KEYBPS2.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
39
endif
40
 
41
ifeq ($(COMPARE_BUILD), true)
42
COMPARISON_BUILD=
43
else
44
COMPARISON_BUILD=
45
endif
46
 
47
# Object Directory
48
OBJECTDIR=build/${CND_CONF}/${IMAGE_TYPE}
49
 
50
# Distribution Directory
51
DISTDIR=dist/${CND_CONF}/${IMAGE_TYPE}
52
 
53
# Source Files Quoted if spaced
54
SOURCEFILES_QUOTED_IF_SPACED=../main.asm
55
 
56
# Object Files Quoted if spaced
57
OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/_ext/1472/main.o
58
POSSIBLE_DEPFILES=${OBJECTDIR}/_ext/1472/main.o.d
59
 
60
# Object Files
61
OBJECTFILES=${OBJECTDIR}/_ext/1472/main.o
62
 
63
# Source Files
64
SOURCEFILES=../main.asm
65
 
66
 
67
CFLAGS=
68
ASFLAGS=
69
LDLIBSOPTIONS=
70
 
71
############# Tool locations ##########################################
72
# If you copy a project from one host to another, the path where the  #
73
# compiler is installed may be different.                             #
74
# If you open this project with MPLAB X in the new host, this         #
75
# makefile will be regenerated and the paths will be corrected.       #
76
#######################################################################
77
# fixDeps replaces a bunch of sed/cat/printf statements that slow down the build
78
FIXDEPS=fixDeps
79
 
80
.build-conf:  ${BUILD_SUBPROJECTS}
81
ifneq ($(INFORMATION_MESSAGE), )
82
	@echo $(INFORMATION_MESSAGE)
83
endif
84
	${MAKE}  -f nbproject/Makefile-default.mk dist/${CND_CONF}/${IMAGE_TYPE}/KEYBPS2.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
85
 
86
MP_PROCESSOR_OPTION=18f4420
87
MP_LINKER_DEBUG_OPTION=-r=ROM@0x3DC0:0x3FFF -r=RAM@GPR:0x2F4:0x2FF
88
# ------------------------------------------------------------------------------------
89
# Rules for buildStep: assemble
90
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
91
${OBJECTDIR}/_ext/1472/main.o: ../main.asm  nbproject/Makefile-${CND_CONF}.mk
92
	@${MKDIR} "${OBJECTDIR}/_ext/1472"
93
	@${RM} ${OBJECTDIR}/_ext/1472/main.o.d
94
	@${RM} ${OBJECTDIR}/_ext/1472/main.o
95
	@${FIXDEPS} dummy.d -e "${OBJECTDIR}/_ext/1472/main.err" $(SILENT) -c ${MP_AS} $(MP_EXTRA_AS_PRE) -d__DEBUG -d__MPLAB_DEBUGGER_ICD3=1 -q -p$(MP_PROCESSOR_OPTION)  -l\"${OBJECTDIR}/_ext/1472/main.lst\" -e\"${OBJECTDIR}/_ext/1472/main.err\" $(ASM_OPTIONS)    -o\"${OBJECTDIR}/_ext/1472/main.o\" \"../main.asm\"
96
	@${DEP_GEN} -d "${OBJECTDIR}/_ext/1472/main.o"
97
	@${FIXDEPS} "${OBJECTDIR}/_ext/1472/main.o.d" $(SILENT) -rsi ${MP_AS_DIR} -c18
98
 
99
else
100
${OBJECTDIR}/_ext/1472/main.o: ../main.asm  nbproject/Makefile-${CND_CONF}.mk
101
	@${MKDIR} "${OBJECTDIR}/_ext/1472"
102
	@${RM} ${OBJECTDIR}/_ext/1472/main.o.d
103
	@${RM} ${OBJECTDIR}/_ext/1472/main.o
104
	@${FIXDEPS} dummy.d -e "${OBJECTDIR}/_ext/1472/main.err" $(SILENT) -c ${MP_AS} $(MP_EXTRA_AS_PRE) -q -p$(MP_PROCESSOR_OPTION)  -l\"${OBJECTDIR}/_ext/1472/main.lst\" -e\"${OBJECTDIR}/_ext/1472/main.err\" $(ASM_OPTIONS)    -o\"${OBJECTDIR}/_ext/1472/main.o\" \"../main.asm\"
105
	@${DEP_GEN} -d "${OBJECTDIR}/_ext/1472/main.o"
106
	@${FIXDEPS} "${OBJECTDIR}/_ext/1472/main.o.d" $(SILENT) -rsi ${MP_AS_DIR} -c18
107
 
108
endif
109
 
110
# ------------------------------------------------------------------------------------
111
# Rules for buildStep: link
112
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
113
dist/${CND_CONF}/${IMAGE_TYPE}/KEYBPS2.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES}  nbproject/Makefile-${CND_CONF}.mk
114
	@${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE}
115
	${MP_LD} $(MP_EXTRA_LD_PRE)   -p$(MP_PROCESSOR_OPTION)  -w -x -u_DEBUG -z__ICD2RAM=1 -m"${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map"   -z__MPLAB_BUILD=1  -z__MPLAB_DEBUG=1 -z__MPLAB_DEBUGGER_ICD3=1 $(MP_LINKER_DEBUG_OPTION) -odist/${CND_CONF}/${IMAGE_TYPE}/KEYBPS2.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}  ${OBJECTFILES_QUOTED_IF_SPACED}
116
else
117
dist/${CND_CONF}/${IMAGE_TYPE}/KEYBPS2.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES}  nbproject/Makefile-${CND_CONF}.mk
118
	@${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE}
119
	${MP_LD} $(MP_EXTRA_LD_PRE)   -p$(MP_PROCESSOR_OPTION)  -w  -m"${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map"   -z__MPLAB_BUILD=1  -odist/${CND_CONF}/${IMAGE_TYPE}/KEYBPS2.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX}  ${OBJECTFILES_QUOTED_IF_SPACED}
120
endif
121
 
122
 
123
# Subprojects
124
.build-subprojects:
125
 
126
 
127
# Subprojects
128
.clean-subprojects:
129
 
130
# Clean Targets
131
.clean-conf: ${CLEAN_SUBPROJECTS}
132
	${RM} -r build/default
133
	${RM} -r dist/default
134
 
135
# Enable dependency checking
136
.dep.inc: .depcheck-impl
137
 
138
DEPFILES=$(shell mplabwildcard ${POSSIBLE_DEPFILES})
139
ifneq (${DEPFILES},)
140
include ${DEPFILES}
141
endif