Revision db9f9966c43541b85439af0ab39fe3e3444ef14b authored by Daniel Lee on 03 July 2014, 19:22:22 UTC, committed by Daniel Lee on 03 July 2014, 19:22:22 UTC
2 parent s 2984166 + 5f484a3
Raw File
os_win
##
# This file should modify the following variables
# as appropriate:
#   - CFLAGS
#   - CFLAGS_GTEST
#   - OPT
#   - EXE
# 
# Additionally, set the following variables to build
# demo/gm using the Microsoft Visual Studio compiler.
#   - CC_STANC
#   - CFLAGS_STANC
#   - OUTPUT_OPTION_STANC
##

EXE = .exe
O_STANC = 3
CFLAGS_GTEST += -DGTEST_HAS_PTHREAD=0
PATH_SEPARATOR = '\'
BIT = 64
ifeq (g++,$(CC_TYPE))
  CFLAGS += -m$(BIT)
  CFLAGS += -Wno-unused-function
  CFLAGS += -Wno-uninitialized
  LDLIBS += -static-libgcc
  LDLIBS += -static-libstdc++
endif
ifeq (mingw32-g++,$(CC_TYPE))
  CFLAGS += -Wno-unused-function
  CFLAGS += -Wno-uninitialized
  LDLIBS += -static-libgcc
#  LDLIBS += -static-libstdc++
endif
ifeq (clang++,$(CC_TYPE))
endif

## adding target that maps targets without extensions
## to targets with .exe at the end.
%: %.exe %.stan
	@# this is an intentional blank line
back to top