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

9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

SIMULINK_LDFLAGS  = -lm
CC              = gcc
LD              = ld
GPROF           = gprof


ifdef USE_GPROF
TARGET_LDFLAGS+=-pg
endif


target-clean:

target-objects: