58 lines
1.7 KiB
Makefile
58 lines
1.7 KiB
Makefile
#############################################################
|
|
#
|
|
# Copyright 2011 EFDA | European Fusion Development Agreement
|
|
#
|
|
# Licensed under the EUPL, Version 1.1 or - as soon they
|
|
# will be approved by the European Commission - subsequent
|
|
# versions of the EUPL (the "Licence");
|
|
# You may not use this work except in compliance with the
|
|
# Licence.
|
|
# You may obtain a copy of the Licence at:
|
|
#
|
|
# http://ec.europa.eu/idabc/eupl
|
|
#
|
|
# Unless required by applicable law or agreed to in
|
|
# writing, software distributed under the Licence is
|
|
# distributed on an "AS IS" basis,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
# express or implied.
|
|
# See the Licence for the specific language governing
|
|
# permissions and limitations under the Licence.
|
|
#
|
|
# $Id: Makefile.inc 3 2012-01-15 16:26:07Z aneto $
|
|
#
|
|
#############################################################
|
|
|
|
MARTEBasePath=/opt/MARTe
|
|
|
|
MAKEDEFAULTDIR=$(MARTEBasePath)/MakeDefaults
|
|
|
|
include $(MAKEDEFAULTDIR)/MakeStdLibDefs.$(TARGET)
|
|
|
|
CFLAGS+= -I.
|
|
CFLAGS+= -I$(MARTEBasePath)/
|
|
CFLAGS+= -I$(MARTEBasePath)/MARTe/MARTeSupportLib
|
|
CFLAGS+= -I$(MARTEBasePath)/BaseLib2/Level0
|
|
CFLAGS+= -I$(MARTEBasePath)/BaseLib2/Level1
|
|
CFLAGS+= -I$(MARTEBasePath)/BaseLib2/Level2
|
|
CFLAGS+= -I$(MARTEBasePath)/BaseLib2/Level3
|
|
CFLAGS+= -I$(MARTEBasePath)/BaseLib2/Level4
|
|
CFLAGS+= -I$(MARTEBasePath)/BaseLib2/Level5
|
|
CFLAGS+= -I$(MARTEBasePath)/BaseLib2/Level6
|
|
CFLAGS+= -I$(MARTEBasePath)/BaseLib2/LoggerService
|
|
CFLAGS+= -std=c++0x
|
|
#CFLAGS+= -std=c++11
|
|
CFLAGS+= -O3
|
|
#CFLAGS+= -Ofast
|
|
CFLAGS+= -ffast-math
|
|
#CFLAGS+= -fpermissive
|
|
|
|
|
|
all: $(OBJS) \
|
|
$(TARGET)/BinaryFileReader$(DRVEXT)
|
|
echo $(OBJS)
|
|
|
|
include depends.$(TARGET)
|
|
|
|
include $(MAKEDEFAULTDIR)/MakeStdLibRules.$(TARGET)
|