Makefile.win32 374 Bytes
Newer Older
jdelange's avatar
jdelange committed
1
2
3
4
TARGET_CFLAGS     = -D_WIN32 -D_GNU_SOURCE  $(GCC_GENERIC_FLAGS) -std=c99 -m32
TARGET_LDFLAGS    =  -m32
SIMULINK_LDFLAGS  = -lm
CC                = i686-w64-mingw32-gcc
5
LD                = i686-w64-mingw32-gcc
jdelange's avatar
jdelange committed
6
7
8
9
10
11
GPROF             = gprof

ifdef USE_GPROF
TARGET_LDFLAGS+=-pg
endif

jdelange's avatar
jdelange committed
12
13
14
15
ifeq ($(NEED_TRANSPORT),yes)
TARGET_LDFLAGS+=-lwsock32
endif

jdelange's avatar
jdelange committed
16
17
18
target-clean:

target-objects: