-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 2a240a4
Showing
8 changed files
with
528 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
# | ||
# There exist several targets which are by default empty and which can be | ||
# used for execution of your targets. These targets are usually executed | ||
# before and after some main targets. They are: | ||
# | ||
# .build-pre: called before 'build' target | ||
# .build-post: called after 'build' target | ||
# .clean-pre: called before 'clean' target | ||
# .clean-post: called after 'clean' target | ||
# .clobber-pre: called before 'clobber' target | ||
# .clobber-post: called after 'clobber' target | ||
# .all-pre: called before 'all' target | ||
# .all-post: called after 'all' target | ||
# .help-pre: called before 'help' target | ||
# .help-post: called after 'help' target | ||
# | ||
# Targets beginning with '.' are not intended to be called on their own. | ||
# | ||
# Main targets can be executed directly, and they are: | ||
# | ||
# build build a specific configuration | ||
# clean remove built files from a configuration | ||
# clobber remove all built files | ||
# all build all configurations | ||
# help print help mesage | ||
# | ||
# Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and | ||
# .help-impl are implemented in nbproject/makefile-impl.mk. | ||
# | ||
# Available make variables: | ||
# | ||
# CND_BASEDIR base directory for relative paths | ||
# CND_DISTDIR default top distribution directory (build artifacts) | ||
# CND_BUILDDIR default top build directory (object files, ...) | ||
# CONF name of current configuration | ||
# CND_ARTIFACT_DIR_${CONF} directory of build artifact (current configuration) | ||
# CND_ARTIFACT_NAME_${CONF} name of build artifact (current configuration) | ||
# CND_ARTIFACT_PATH_${CONF} path to build artifact (current configuration) | ||
# CND_PACKAGE_DIR_${CONF} directory of package (current configuration) | ||
# CND_PACKAGE_NAME_${CONF} name of package (current configuration) | ||
# CND_PACKAGE_PATH_${CONF} path to package (current configuration) | ||
# | ||
# NOCDDL | ||
|
||
|
||
# Environment | ||
MKDIR=mkdir | ||
CP=cp | ||
CCADMIN=CCadmin | ||
RANLIB=ranlib | ||
|
||
|
||
# build | ||
build: .build-post | ||
|
||
.build-pre: | ||
# Add your pre 'build' code here... | ||
|
||
.build-post: .build-impl | ||
# Add your post 'build' code here... | ||
|
||
|
||
# clean | ||
clean: .clean-post | ||
|
||
.clean-pre: | ||
# Add your pre 'clean' code here... | ||
# WARNING: the IDE does not call this target since it takes a long time to | ||
# simply run make. Instead, the IDE removes the configuration directories | ||
# under build and dist directly without calling make. | ||
# This target is left here so people can do a clean when running a clean | ||
# outside the IDE. | ||
|
||
.clean-post: .clean-impl | ||
# Add your post 'clean' code here... | ||
|
||
|
||
# clobber | ||
clobber: .clobber-post | ||
|
||
.clobber-pre: | ||
# Add your pre 'clobber' code here... | ||
|
||
.clobber-post: .clobber-impl | ||
# Add your post 'clobber' code here... | ||
|
||
|
||
# all | ||
all: .all-post | ||
|
||
.all-pre: | ||
# Add your pre 'all' code here... | ||
|
||
.all-post: .all-impl | ||
# Add your post 'all' code here... | ||
|
||
|
||
# help | ||
help: .help-post | ||
|
||
.help-pre: | ||
# Add your pre 'help' code here... | ||
|
||
.help-post: .help-impl | ||
# Add your post 'help' code here... | ||
|
||
|
||
|
||
# include project implementation makefile | ||
include nbproject/Makefile-impl.mk | ||
|
||
# include project make variables | ||
include nbproject/Makefile-variables.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
# | ||
# Generated Makefile - do not edit! | ||
# | ||
# Edit the Makefile in the project folder instead (../Makefile). Each target | ||
# has a -pre and a -post target defined where you can add customized code. | ||
# | ||
# This makefile implements configuration specific macros and targets. | ||
|
||
|
||
# Include project Makefile | ||
ifeq "${IGNORE_LOCAL}" "TRUE" | ||
# do not include local makefile. User is passing all local related variables already | ||
else | ||
include Makefile | ||
# Include makefile containing local settings | ||
ifeq "$(wildcard nbproject/Makefile-local-default.mk)" "nbproject/Makefile-local-default.mk" | ||
include nbproject/Makefile-local-default.mk | ||
endif | ||
endif | ||
|
||
# Environment | ||
MKDIR=gnumkdir -p | ||
RM=rm -f | ||
MV=mv | ||
CP=cp | ||
|
||
# Macros | ||
CND_CONF=default | ||
ifeq ($(TYPE_IMAGE), DEBUG_RUN) | ||
IMAGE_TYPE=debug | ||
OUTPUT_SUFFIX=elf | ||
DEBUGGABLE_SUFFIX=elf | ||
FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/PS2-RC-Car.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} | ||
else | ||
IMAGE_TYPE=production | ||
OUTPUT_SUFFIX=hex | ||
DEBUGGABLE_SUFFIX=elf | ||
FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/PS2-RC-Car.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} | ||
endif | ||
|
||
ifeq ($(COMPARE_BUILD), true) | ||
COMPARISON_BUILD=--mafrlcsj | ||
else | ||
COMPARISON_BUILD= | ||
endif | ||
|
||
# Object Directory | ||
OBJECTDIR=build/${CND_CONF}/${IMAGE_TYPE} | ||
|
||
# Distribution Directory | ||
DISTDIR=dist/${CND_CONF}/${IMAGE_TYPE} | ||
|
||
# Source Files Quoted if spaced | ||
SOURCEFILES_QUOTED_IF_SPACED= | ||
|
||
# Object Files Quoted if spaced | ||
OBJECTFILES_QUOTED_IF_SPACED= | ||
POSSIBLE_DEPFILES= | ||
|
||
# Object Files | ||
OBJECTFILES= | ||
|
||
# Source Files | ||
SOURCEFILES= | ||
|
||
|
||
CFLAGS= | ||
ASFLAGS= | ||
LDLIBSOPTIONS= | ||
|
||
############# Tool locations ########################################## | ||
# If you copy a project from one host to another, the path where the # | ||
# compiler is installed may be different. # | ||
# If you open this project with MPLAB X in the new host, this # | ||
# makefile will be regenerated and the paths will be corrected. # | ||
####################################################################### | ||
# fixDeps replaces a bunch of sed/cat/printf statements that slow down the build | ||
FIXDEPS=fixDeps | ||
|
||
.build-conf: ${BUILD_SUBPROJECTS} | ||
ifneq ($(INFORMATION_MESSAGE), ) | ||
@echo $(INFORMATION_MESSAGE) | ||
endif | ||
${MAKE} -f nbproject/Makefile-default.mk dist/${CND_CONF}/${IMAGE_TYPE}/PS2-RC-Car.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} | ||
|
||
MP_PROCESSOR_OPTION=16F1459 | ||
# ------------------------------------------------------------------------------------ | ||
# Rules for buildStep: compile | ||
ifeq ($(TYPE_IMAGE), DEBUG_RUN) | ||
else | ||
endif | ||
|
||
# ------------------------------------------------------------------------------------ | ||
# Rules for buildStep: assemble | ||
ifeq ($(TYPE_IMAGE), DEBUG_RUN) | ||
else | ||
endif | ||
|
||
# ------------------------------------------------------------------------------------ | ||
# Rules for buildStep: link | ||
ifeq ($(TYPE_IMAGE), DEBUG_RUN) | ||
dist/${CND_CONF}/${IMAGE_TYPE}/PS2-RC-Car.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk | ||
@${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE} | ||
${MP_CC} $(MP_EXTRA_LD_PRE) --chip=$(MP_PROCESSOR_OPTION) -G -mdist/${CND_CONF}/${IMAGE_TYPE}/PS2-RC-Car.X.${IMAGE_TYPE}.map -D__DEBUG=1 --debugger=none --double=24 --float=24 --opt=+asm,+asmfile,-speed,+space,-debug,-local --addrqual=ignore --mode=free -P -N255 --warn=-3 --asmlist -DXPRJ_default=$(CND_CONF) --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,-osccal,-resetbits,-download,-stackcall,+clib --output=-mcof,+elf:multilocs --stack=compiled:auto:auto "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s" $(COMPARISON_BUILD) --memorysummary dist/${CND_CONF}/${IMAGE_TYPE}/memoryfile.xml -odist/${CND_CONF}/${IMAGE_TYPE}/PS2-RC-Car.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} | ||
@${RM} dist/${CND_CONF}/${IMAGE_TYPE}/PS2-RC-Car.X.${IMAGE_TYPE}.hex | ||
|
||
else | ||
dist/${CND_CONF}/${IMAGE_TYPE}/PS2-RC-Car.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk | ||
@${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE} | ||
${MP_CC} $(MP_EXTRA_LD_PRE) --chip=$(MP_PROCESSOR_OPTION) -G -mdist/${CND_CONF}/${IMAGE_TYPE}/PS2-RC-Car.X.${IMAGE_TYPE}.map --double=24 --float=24 --opt=+asm,+asmfile,-speed,+space,-debug,-local --addrqual=ignore --mode=free -P -N255 --warn=-3 --asmlist -DXPRJ_default=$(CND_CONF) --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,-osccal,-resetbits,-download,-stackcall,+clib --output=-mcof,+elf:multilocs --stack=compiled:auto:auto "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s" $(COMPARISON_BUILD) --memorysummary dist/${CND_CONF}/${IMAGE_TYPE}/memoryfile.xml -odist/${CND_CONF}/${IMAGE_TYPE}/PS2-RC-Car.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} | ||
|
||
endif | ||
|
||
|
||
# Subprojects | ||
.build-subprojects: | ||
|
||
|
||
# Subprojects | ||
.clean-subprojects: | ||
|
||
# Clean Targets | ||
.clean-conf: ${CLEAN_SUBPROJECTS} | ||
${RM} -r build/default | ||
${RM} -r dist/default | ||
|
||
# Enable dependency checking | ||
.dep.inc: .depcheck-impl | ||
|
||
DEPFILES=$(shell mplabwildcard ${POSSIBLE_DEPFILES}) | ||
ifneq (${DEPFILES},) | ||
include ${DEPFILES} | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# | ||
# Generated Makefile - do not edit! | ||
# | ||
# Edit the Makefile in the project folder instead (../Makefile). Each target | ||
# has a pre- and a post- target defined where you can add customization code. | ||
# | ||
# This makefile implements macros and targets common to all configurations. | ||
# | ||
# NOCDDL | ||
|
||
|
||
# Building and Cleaning subprojects are done by default, but can be controlled with the SUB | ||
# macro. If SUB=no, subprojects will not be built or cleaned. The following macro | ||
# statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf | ||
# and .clean-reqprojects-conf unless SUB has the value 'no' | ||
SUB_no=NO | ||
SUBPROJECTS=${SUB_${SUB}} | ||
BUILD_SUBPROJECTS_=.build-subprojects | ||
BUILD_SUBPROJECTS_NO= | ||
BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}} | ||
CLEAN_SUBPROJECTS_=.clean-subprojects | ||
CLEAN_SUBPROJECTS_NO= | ||
CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}} | ||
|
||
|
||
# Project Name | ||
PROJECTNAME=PS2-RC-Car.X | ||
|
||
# Active Configuration | ||
DEFAULTCONF=default | ||
CONF=${DEFAULTCONF} | ||
|
||
# All Configurations | ||
ALLCONFS=default | ||
|
||
|
||
# build | ||
.build-impl: .build-pre | ||
${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-conf | ||
|
||
|
||
# clean | ||
.clean-impl: .clean-pre | ||
${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .clean-conf | ||
|
||
# clobber | ||
.clobber-impl: .clobber-pre .depcheck-impl | ||
${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default clean | ||
|
||
|
||
|
||
# all | ||
.all-impl: .all-pre .depcheck-impl | ||
${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default build | ||
|
||
|
||
|
||
# dependency checking support | ||
.depcheck-impl: | ||
# @echo "# This code depends on make tool being used" >.dep.inc | ||
# @if [ -n "${MAKE_VERSION}" ]; then \ | ||
# echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES}))" >>.dep.inc; \ | ||
# echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \ | ||
# echo "include \$${DEPFILES}" >>.dep.inc; \ | ||
# echo "endif" >>.dep.inc; \ | ||
# else \ | ||
# echo ".KEEP_STATE:" >>.dep.inc; \ | ||
# echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \ | ||
# fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# | ||
# Generated Makefile - do not edit! | ||
# | ||
# | ||
# This file contains information about the location of compilers and other tools. | ||
# If you commmit this file into your revision control server, you will be able to | ||
# to checkout the project and build it from the command line with make. However, | ||
# if more than one person works on the same project, then this file might show | ||
# conflicts since different users are bound to have compilers in different places. | ||
# In that case you might choose to not commit this file and let MPLAB X recreate this file | ||
# for each user. The disadvantage of not commiting this file is that you must run MPLAB X at | ||
# least once so the file gets created and the project can be built. Finally, you can also | ||
# avoid using this file at all if you are only building from the command line with make. | ||
# You can invoke make with the values of the macros: | ||
# $ makeMP_CC="/opt/microchip/mplabc30/v3.30c/bin/pic30-gcc" ... | ||
# | ||
SHELL=cmd.exe | ||
PATH_TO_IDE_BIN=C:/Program Files (x86)/Microchip/MPLABX/v3.55/mplab_ide/platform/../mplab_ide/modules/../../bin/ | ||
# Adding MPLAB X bin directory to path. | ||
PATH:=C:/Program Files (x86)/Microchip/MPLABX/v3.55/mplab_ide/platform/../mplab_ide/modules/../../bin/:$(PATH) | ||
# Path to java used to run MPLAB X when this makefile was created | ||
MP_JAVA_PATH="C:\Program Files (x86)\Microchip\MPLABX\v3.55\sys\java\jre1.8.0_91/bin/" | ||
OS_CURRENT="$(shell uname -s)" | ||
MP_CC="C:\Program Files (x86)\Microchip\xc8\v1.41\bin\xc8.exe" | ||
# MP_CPPC is not defined | ||
# MP_BC is not defined | ||
MP_AS="C:\Program Files (x86)\Microchip\xc8\v1.41\bin\xc8.exe" | ||
MP_LD="C:\Program Files (x86)\Microchip\xc8\v1.41\bin\xc8.exe" | ||
# MP_AR is not defined | ||
DEP_GEN=${MP_JAVA_PATH}java -jar "C:/Program Files (x86)/Microchip/MPLABX/v3.55/mplab_ide/platform/../mplab_ide/modules/../../bin/extractobjectdependencies.jar" | ||
MP_CC_DIR="C:\Program Files (x86)\Microchip\xc8\v1.41\bin" | ||
# MP_CPPC_DIR is not defined | ||
# MP_BC_DIR is not defined | ||
MP_AS_DIR="C:\Program Files (x86)\Microchip\xc8\v1.41\bin" | ||
MP_LD_DIR="C:\Program Files (x86)\Microchip\xc8\v1.41\bin" | ||
# MP_AR_DIR is not defined | ||
# MP_BC_DIR is not defined |
Oops, something went wrong.