125 lines
4.5 KiB
Makefile
125 lines
4.5 KiB
Makefile
#
|
|
# 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.
|
|
|
|
|
|
# Environment
|
|
MKDIR=mkdir
|
|
CP=cp
|
|
GREP=grep
|
|
NM=nm
|
|
CCADMIN=CCadmin
|
|
RANLIB=ranlib
|
|
CC=gcc
|
|
CCC=g++
|
|
CXX=g++
|
|
FC=gfortran
|
|
AS=as
|
|
|
|
# Macros
|
|
CND_PLATFORM=GNU-Linux
|
|
CND_DLIB_EXT=so
|
|
CND_CONF=Debug__RPI_
|
|
CND_DISTDIR=dist
|
|
CND_BUILDDIR=build
|
|
|
|
# Include project Makefile
|
|
include ./Makefile
|
|
|
|
# Object Directory
|
|
OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}
|
|
|
|
# Object Files
|
|
OBJECTFILES= \
|
|
${OBJECTDIR}/lib/image.o \
|
|
${OBJECTDIR}/lib/message.o \
|
|
${OBJECTDIR}/lib/messages.o \
|
|
${OBJECTDIR}/lib/monitor.o \
|
|
${OBJECTDIR}/lib/robot.o \
|
|
${OBJECTDIR}/lib/server.o \
|
|
${OBJECTDIR}/main.o \
|
|
${OBJECTDIR}/tasks.o
|
|
|
|
|
|
# C Compiler Flags
|
|
CFLAGS=-I/usr/xenomai/include/mercury -I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT -fasynchronous-unwind-tables -D__MERCURY__ -I/usr/xenomai/include/alchemy
|
|
|
|
# CC Compiler Flags
|
|
CCFLAGS=-I/usr/xenomai/include/mercury -I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT -fasynchronous-unwind-tables -D__MERCURY__ -I/usr/xenomai/include/alchemy
|
|
CXXFLAGS=-I/usr/xenomai/include/mercury -I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT -fasynchronous-unwind-tables -D__MERCURY__ -I/usr/xenomai/include/alchemy
|
|
|
|
# Fortran Compiler Flags
|
|
FFLAGS=
|
|
|
|
# Assembler Flags
|
|
ASFLAGS=
|
|
|
|
# Link Libraries and Options
|
|
LDLIBSOPTIONS=`pkg-config --libs opencv` -lraspicam_cv -lraspicam
|
|
|
|
# Build Targets
|
|
.build-conf: ${BUILD_SUBPROJECTS}
|
|
"${MAKE}" -f nbproject/Makefile-${CND_CONF}.mk ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/superviseur-robot
|
|
|
|
${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/superviseur-robot: ${OBJECTFILES}
|
|
${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}
|
|
${LINK.cc} -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/superviseur-robot ${OBJECTFILES} ${LDLIBSOPTIONS} -Wl,--no-as-needed -lalchemy -lcopperplate /usr/xenomai/lib/xenomai/bootstrap.o -Wl,--wrap=main -Wl,--dynamic-list=/usr/xenomai/lib/dynlist.ld -L/usr/xenomai/lib -lmercury -lpthread -lrt
|
|
|
|
${OBJECTDIR}/lib/image.o: lib/image.cpp
|
|
${MKDIR} -p ${OBJECTDIR}/lib
|
|
${RM} "$@.d"
|
|
$(COMPILE.cc) -g -D_WITH_TRACE_ -I./ -I./lib -I/usr/xenomai/include -I/usr/xenomai/include/mercury `pkg-config --cflags opencv` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/lib/image.o lib/image.cpp
|
|
|
|
${OBJECTDIR}/lib/message.o: lib/message.cpp
|
|
${MKDIR} -p ${OBJECTDIR}/lib
|
|
${RM} "$@.d"
|
|
$(COMPILE.cc) -g -D_WITH_TRACE_ -I./ -I./lib -I/usr/xenomai/include -I/usr/xenomai/include/mercury `pkg-config --cflags opencv` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/lib/message.o lib/message.cpp
|
|
|
|
${OBJECTDIR}/lib/messages.o: lib/messages.cpp
|
|
${MKDIR} -p ${OBJECTDIR}/lib
|
|
${RM} "$@.d"
|
|
$(COMPILE.cc) -g -D_WITH_TRACE_ -I./ -I./lib -I/usr/xenomai/include -I/usr/xenomai/include/mercury `pkg-config --cflags opencv` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/lib/messages.o lib/messages.cpp
|
|
|
|
${OBJECTDIR}/lib/monitor.o: lib/monitor.cpp
|
|
${MKDIR} -p ${OBJECTDIR}/lib
|
|
${RM} "$@.d"
|
|
$(COMPILE.cc) -g -D_WITH_TRACE_ -I./ -I./lib -I/usr/xenomai/include -I/usr/xenomai/include/mercury `pkg-config --cflags opencv` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/lib/monitor.o lib/monitor.cpp
|
|
|
|
${OBJECTDIR}/lib/robot.o: lib/robot.cpp
|
|
${MKDIR} -p ${OBJECTDIR}/lib
|
|
${RM} "$@.d"
|
|
$(COMPILE.cc) -g -D_WITH_TRACE_ -I./ -I./lib -I/usr/xenomai/include -I/usr/xenomai/include/mercury `pkg-config --cflags opencv` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/lib/robot.o lib/robot.cpp
|
|
|
|
${OBJECTDIR}/lib/server.o: lib/server.cpp
|
|
${MKDIR} -p ${OBJECTDIR}/lib
|
|
${RM} "$@.d"
|
|
$(COMPILE.cc) -g -D_WITH_TRACE_ -I./ -I./lib -I/usr/xenomai/include -I/usr/xenomai/include/mercury `pkg-config --cflags opencv` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/lib/server.o lib/server.cpp
|
|
|
|
${OBJECTDIR}/main.o: main.cpp
|
|
${MKDIR} -p ${OBJECTDIR}
|
|
${RM} "$@.d"
|
|
$(COMPILE.cc) -g -D_WITH_TRACE_ -I./ -I./lib -I/usr/xenomai/include -I/usr/xenomai/include/mercury `pkg-config --cflags opencv` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/main.o main.cpp
|
|
|
|
${OBJECTDIR}/tasks.o: tasks.cpp
|
|
${MKDIR} -p ${OBJECTDIR}
|
|
${RM} "$@.d"
|
|
$(COMPILE.cc) -g -D_WITH_TRACE_ -I./ -I./lib -I/usr/xenomai/include -I/usr/xenomai/include/mercury `pkg-config --cflags opencv` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/tasks.o tasks.cpp
|
|
|
|
# Subprojects
|
|
.build-subprojects:
|
|
|
|
# Clean Targets
|
|
.clean-conf: ${CLEAN_SUBPROJECTS}
|
|
${RM} -r ${CND_BUILDDIR}/${CND_CONF}
|
|
|
|
# Subprojects
|
|
.clean-subprojects:
|
|
|
|
# Enable dependency checking
|
|
.dep.inc: .depcheck-impl
|
|
|
|
include .dep.inc
|