Makefile.linux32-xenomai-native 528 Bytes
Newer Older
1
2
3
4
5
6
7
8
ifeq (`xeno-config --version`, 2.4.4)
TARGET_CFLAGS   = `xeno-config --xeno-cflags` -DXENO_POSIX -D_POSIX_SOURCE -D_GNU_SOURCE -m32
TARGET_LDFLAGS  = `xeno-config --xeno-ldflags` -m32
else
TARGET_CFLAGS   = `xeno-config --skin native --cflags` -DXENO_POSIX -D_POSIX_SOURCE -D_GNU_SOURCE -m32
TARGET_LDFLAGS  = `xeno-config --skin native --ldflags` -m32
endif

9
10
11
12
13
14
15
16
17
18
19
20
21
22
SIMULINK_LDFLAGS  = -lm
CC              = gcc
LD              = ld
GPROF           = gprof


ifdef USE_GPROF
TARGET_LDFLAGS+=-pg
endif


target-clean:

target-objects: