############################################################# # # Copyright 2015 F4E | European Joint Undertaking for ITER # and the Development of Fusion Energy ('Fusion for Energy') # # 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. # ############################################################# #Named of the unit files to be compiled OBJSX=JARF01App.x MDT=mdt SOURCES=src/*.marte src/state_machine/*.marte src/data/*.marte src/thread1/*.marte src/thread2/*.marte src/thread3/*.marte src/thread4/*.marte src/thread5/*.marte src/thread6/*.marte #Location of the Build directory where the configuration file will be written to BUILD_DIR?=./out/ #Location of the MakeDefaults directory. #Note that the MARTe2_DIR environment variable #must have been exported before MAKEDEFAULTDIR=$(MARTe2_DIR)/MakeDefaults include $(MAKEDEFAULTDIR)/MakeStdLibDefs.$(TARGET) all: $(OBJS) $(MDT) build $(SOURCES) -o $(OBJSX) include $(MAKEDEFAULTDIR)/MakeStdLibRules.$(TARGET)