Makefile.linux32-xenomai-native 660 Bytes
Newer Older
jdelange's avatar
jdelange committed
1
2
3
XENOVER=$(shell xeno-config --version)

ifeq ($(XENOVER),2.4.4)
jdelange's avatar
jdelange committed
4
TARGET_CFLAGS   = `xeno-config --xeno-cflags` -DXENO_NATIVE -D_POSIX_SOURCE -D_GNU_SOURCE -m32 $(GCC_GENERIC_FLAGS)
5
6
TARGET_LDFLAGS  = `xeno-config --xeno-ldflags` -m32
else
jdelange's avatar
jdelange committed
7
TARGET_CFLAGS   = `xeno-config --skin native --cflags` -DXENO_NATIVE -D_POSIX_SOURCE -D_GNU_SOURCE -m32 $(GCC_GENERIC_FLAGS)
8
9
10
TARGET_LDFLAGS  = `xeno-config --skin native --ldflags` -m32
endif

11
12
TARGET_LDFLAGS += -L$(RUNTIME_PATH)/libs/linux32/ -llua -lm

13
14
SIMULINK_LDFLAGS  = -lm
CC              = gcc
15
LD              = gcc
16
17
18
19
20
21
22
23
24
25
26
GPROF           = gprof


ifdef USE_GPROF
TARGET_LDFLAGS+=-pg
endif


target-clean:

target-objects: