Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 1c35861899e24127e551dfc6186cbe74c3de8507 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# environment variables: RUNTIME_ROOTDIR, MODELLIB_ROOTDIR, TARGET_PLATFORM, TARGET_BUILD_DIR, ECLIPSE_MODE
# default is windows mingw

# CDT Environment:
# RUNTIME_ROOTDIR: ${workspace_loc:org.eclipse.etrice.runtime.c}
# MODELLIB_ROOTDIR: ${workspace_loc:org.eclipse.etrice.modellib.c}

ifeq ($(strip ${RUNTIME_ROOTDIR}),)
	RUNTIME_ROOTDIR := ../org.eclipse.etrice.runtime.c
endif
ifeq ($(strip ${MODELLIB_ROOTDIR}),)
	MODELLIB_ROOTDIR := ../org.eclipse.etrice.modellib.c
endif

include ${MODELLIB_ROOTDIR}/buildTools/modellib.mk
include ${RUNTIME_ROOTDIR}/buildTools/runtime.mk

# --- 
IN_TARGET 			:= $(notdir $(shell pwd)).exe
IN_INCDIRS 			+= ./src-gen ./src
IN_SRCDIRS_REC 		+= ./src-gen ./src
#---


# Create rules
include ${RUNTIME_ROOTDIR}/buildTools/Makefile.mk

Back to the top