VERSION=0.98nX
COPYRIGHT=Copyright (C) 2002-2015 INED-EUROREVES-Institut de longevite-Japan Society for the Promotion of Science (Grant-in-Aid for Scientific Research 25293121)
-IMACHSETUPVERSION=2
+IMACHSETUPVERSION=3
# Linux
# make _linux=1 imachopt
# valgrind --dsymutil=yes --leak-check=full --show-leak-kinds=all --track-origins=yes ~/Documents/imachcvs/imach/src/imach-1.129cvsmac radlc-1.129.imach
# Windows
-# make imachMVC-setup (touch setup.iss.in)
+# make imachMVC-setup (touch setup.iss.in) #binary should have been compiled on Windows with cl
# make imachMVC-noreg-setup
#
+# Windows cross-compiled mw64
+# make _mw64onsox=1 imachcyg-setup
+#
# make _windows=1 imachcyg
# make _windows=1 imachcyg-setup (touch setup.iss.in)
# make _windows=1 imachcyg-noreg-setup
ifdef _windowsonosx
#GCC=/usr/local/i386-mingw32-4.3.0/bin/i386-mingw32-gcc
-# w64 outputs bigger executables
#GCC=/usr/local/cross-tools/bin/i686-w64-mingw32-gcc
GCC=/usr/local/gcc-4.8.0-qt-4.8.4-for-mingw32/win32-gcc/bin/i586-mingw32-gcc-4.8.0
STRIP=/usr/local/gcc-4.8.0-qt-4.8.4-for-mingw32/win32-gcc/bin/i586-mingw32-strip
BINVERSION=WIN32onOSX
endif
+ifdef _mw64onosx
+GCC=/usr/local/mingw-w64-bin_i686-darwin_20130622/bin/x86_64-w64-mingw32-gcc-4.9.0
+STRIP=/usr/local/mingw-w64-bin_i686-darwin_20130622/bin/x86_64-w64-mingw32-strip
+LFLAGS= -g
+CFLAGS= -g
+LFLAGSOPT= -O3 -lm -s
+CFLAGSOPT= -O3
+UNIX2DOS= unix2dos
+SETUPCOMP= ~/bin/InnoSetup5Playonmac
+CP= cp
+BINVERSION=w64-mingw32-x86-64-bin
+endif
+
ifdef _windowscl
rem "C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\vcvas32.bat"
endif
ifdef _linux32onosx
#GCC=/usr/local/i386-mingw32-4.3.0/bin/i386-mingw32-gcc
-# w64 outputs bigger executables
#GCC=/usr/local/cross-tools/bin/i686-w64-mingw32-gcc
GCC=/usr/local/gcc-4.8.1-for-linux32/bin/i586-pc-linux-gcc
STRIP=/usr/local/gcc-4.8.1-for-linux32/bin/i586-pc-linux-strip
ls Output/* | xargs md5sum
rsync -v Output/* brouard@henry.ined.fr:/home/euroreves/html/imach/
-imachcyg : imachcyg.o strsep.o
- $(CC) $(LFLAGS) -o imach imachcyg.o strsep.o
+imachcyg : imachcyg.o
+ $(CC) $(LFLAGS) -o imach imachcyg.o
imachcyg.o : imach.c
$(CC) $(CFLAGS) -c -o imachcyg.o imach.c
-imachcygopt.exe : imachcygopt.o strsep.o
- $(CC) $(LFLAGSOPT) -o imachcygopt.exe imachcygopt.o strsep.o
+imachcygopt.exe : imachcygopt.o
+ $(CC) $(LFLAGSOPT) -o imachcygopt.exe imachcygopt.o
imachcygopt.o : imach.c
$(CC) $(CFLAGSOPT) -c -o imachcygopt.o imach.c
-strsep.o : strsep.c
- $(CC) $(CFLAGSOPT) -c -o strsep.o strsep.c
imachw32.o : imach.c
i386-mingw32-gcc -c imach.c -o imachw32.o