OS	= windows
ARCH	= windows

X11INCLUDE=../include/X11

XX	= -O2 
YY	= -g
#ZZ	= -DSTATIC_BUILD -mnop-fun-dllimport -DWIN32 -D_GNU_SOURCE 
ZZ	= -DSTATIC_BUILD -mnop-fun-dllimport -D_WIN32 -D_GNU_SOURCE 

#AA	= -D__WIN32__ -D_WIN32 -DHAVE_SYS_SHM_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
AA	= -D_WIN32 -DHAVE_SYS_SHM_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64

#OPTS	= ${XX} ${ZZ}
OPTS	= ${YY} ${ZZ}
NOPTS	= ${YY} ${ZZ}

CXX	= g++
CXXOPT	= ${OPTS} ${AA}
CXXNOPT	= ${NOPTS} ${AA}

CC	= gcc
CCOPT	= ${OPTS} ${AA}
CCNOPT	= ${NOPTS} ${AA}

ZCAT	= zcat

EXE = .exe
ZIPFILE = ds9.zip
JOBS = 4
