Commit 531edb79 authored by yoogx's avatar yoogx

* Move CYGWIN macros to Makefile.common.in

parent d2978101
......@@ -61,7 +61,7 @@ case ${host_os} in
NATIVE_LDFLAGS="${NATIVE_LDFLAGS} -lpthread -lrt"
SIMULINK_LDFLAGS="-lm"
;;
*cygwin*)
*cygwin*)
NATIVE_CFLAGS="${NATIVE_CFLAGS} -D_GNU_SOURCE"
NATIVE_LDFLAGS="${NATIVE_LDFLAGS} -lpthread -lwsock32"
SIMULINK_LDFLAGS="-lm"
......@@ -217,6 +217,7 @@ AC_OUTPUT([
share/tsim/Makefile
share/make/Makefile
share/utils/Makefile
share/make/Makefile.common
share/make/Makefile.native
share/config/Makefile
share/config/spif-rtems/Makefile
......
......@@ -2,6 +2,9 @@
# middleware written for generated code from AADL models.
# You should use it with the Ocarina toolsuite.
CYGPATH_U = @CYGPATH_U@
CYGPATH_W = @CYGPATH_W@
GCC_GENERIC_CFLAGS=-Wall -g
all: build-node
......
CYGPATH_U = @CYGPATH_U@
CYGPATH_W = @CYGPATH_W@
TARGET_CFLAGS = @NATIVE_CFLAGS@
TARGET_LDFLAGS = @NATIVE_LDFLAGS@ -lm
SIMULINK_LDFLAGS = @SIMULINK_LDFLAGS@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment