File:  [Local Repository] / imach / src / Makefile
Revision 1.50: download - view: text, annotated - select for diffs
Sat Jan 3 16:16:07 2015 UTC (9 years, 10 months ago) by brouard
Branches: MAIN
CVS tags: HEAD
*** empty log message ***

    1: VERSION=0.98p
    2: COPYRIGHT=Copyright (C)  2002-2015 INED-EUROREVES-Institut de longevite-Japan Society for the Promotion of Science (Grant-in-Aid for Scientific Research 25293121)
    3: IMACHSETUPVERSION=ilc64
    4: 
    5: #       Linux
    6: # make _linux=1 imachopt
    7: # make _linux=1 imach
    8: #
    9: # make _linux32onosx=1 imachopt
   10: # make _linux64onosx=1 imachopt
   11: 
   12: #       OS/X
   13: # make _intel64onosx=1 imachopt
   14: # make _intel32onosx=1 imachopt
   15: # make _intelUNBonosx=1 imachdmg # Not implemented (not useful)
   16: # make _macosx=1 imach
   17: # make _macosx=1 imachopt
   18: # make _macosx=1 imachdmg
   19: #  valgrind  --dsymutil=yes --leak-check=full --show-leak-kinds=all --track-origins=yes ~/Documents/imachcvs/imach/src/imach-1.129cvsmac radlc-1.129.imach
   20: 
   21: #        Windows
   22: # make _windowsonosx=1 imachILC64-setup (touch setup.iss.in) #binary should have been compiled on Windows with cl
   23: # make _windowsonosx=1 imachMVC-setup (touch setup.iss.in) #binary should have been compiled on Windows with cl
   24: # make imachMVC-noreg-setup
   25: #
   26: #        Windows cross-compiled mw64
   27: # make _mw64onsox=1 imachcyg-setup
   28: #
   29: # make _windows=1 imachcyg
   30: # make _windows=1 imachcyg-setup (touch setup.iss.in)
   31: # make _windows=1 imachcyg-noreg-setup
   32: #
   33: # make _windowsonlinux=1 imachcyg-setup (touch setup.iss.in)
   34: # make _windowsonlinux=1 imachcyg-noreg-setup
   35: #
   36: # make _windowscl=1 imachclopt
   37: 
   38: #
   39: # sortie dans Output/setup.exe
   40: # ln -s /cygdrive/c/Program\ Files/Inno\ Setup\ 4/Compil32.exe /usr/local/bin/Compil32
   41: ##SETUPCOMP=  "C:\Program Files\Inno Setup 3\Compil32.exe"
   42: #TESTFILE=$$HOME/Documents/Recherches/REVES/SAITO/Tokyo2014/adlc-test-mac/adecode-1.142c.imach
   43: #TESTFILE=$(HOME)/Documents/Recherches/REVES/carol/carol-june2014/educadlmwt24.imach
   44: TESTFILE=$(HOME)/Documents/Recherches/REVES/Biaspar/biaspar-wopowell.imach
   45: #TESTFILE=$(HOME)/Documents/Recherches/REVES/SAITO/Tokyo2014/adlc-test-mac/adecode-1.142c.imach
   46: #TESTFILE=$(HOME)/Documents/Recherches/REVES/SAITO/Tokyo2014/adlc_test_magei4/radlc_often.imach
   47: #CC= gcc -v
   48: CC=$(GCC)
   49: GCC= gcc
   50: 
   51: ifdef _macosx
   52: # Mac OS/X version
   53: LFLAGS= -g -lm 
   54: CFLAGS= -g -DDEBUG 
   55: LFLAGSOPT= -O3 -lm 
   56: CFLAGSOPT= -O3 
   57: UNIX2DOS= echo "Unix2dos " 
   58: DSYMUTIL= dsymutil
   59: STRIP= strip
   60: BINVERSION=OSX
   61: # Don'know how to launch imach098.pmsp in batch to create package file imach098Panther.pkg
   62: # ./createdmg.sh imach imach098panther ./imach098Panther
   63: # ./createdmg.sh imach imach098leopard ./imach098Leopard
   64: # and directory ./imach098Panther contains package file imach098Panther.pkg
   65: #./create-dmg --window-size 500 300 --background ~/Projects/eclipse-osx-repackager/build/background.gif --icon-size 96 --volname "Hyper Foo" --icon "Applications" 380 205 --icon "Eclipse OS X Repackager" 110 205 test2.dmg /Users/andreyvit/Projects/eclipse-osx-repackager/temp/Eclipse\ OS\ X\ Repackager\ r10/
   66: # ./create-dmg --volname "IMaCh 0.98j" imach098j.dmg imach098Leopard
   67: endif
   68: 
   69: ifdef _windows
   70: CC=c:\MinGW\bin\Mingw32-gcc
   71: 
   72: # Windows cygwin version
   73: LFLAGS= -g -mno-cygwin
   74: CFLAGS= -g -mno-cygwin
   75: LFLAGSOPT= -O3 -mno-cygwin
   76: CFLAGSOPT= -O3 -mno-cygwin
   77: UNIX2DOS= unix2dos
   78: CP= copy
   79: BINVERSION=CYGWIN
   80: #SETUPCOMP= Compil32 
   81: ##SETUPCOMP=start /wait "C:\Program\ Files\\Compil32.exe"
   82: # cygwin SETUPCOMP=  "C:\Program Files\Inno Setup 4\Compil32.exe"
   83: SETUPCOMP= "C:////Program Files////Inno Setup 4////Compil32.exe"
   84: endif
   85: 
   86: ifdef _windowsonlinux
   87: GCC=/usr/bin/i586-pc-mingw32-gcc
   88: LFLAGS= -g
   89: CFLAGS= -g
   90: LFLAGSOPT= -O3 -lm
   91: CFLAGSOPT= -O3
   92: CP= cp
   93: UNIX2DOS= unix2dos
   94: SETUPCOMP= wine "C:////Program Files////Inno Setup 4////Compil32.exe"
   95: BINVERSION=WINDOWSonLINUX
   96: endif
   97: 
   98: ifdef _windowsonosx
   99: #GCC=/usr/local/i386-mingw32-4.3.0/bin/i386-mingw32-gcc
  100: #GCC=/usr/local/cross-tools/bin/i686-w64-mingw32-gcc
  101: GCC=/usr/local/gcc-4.8.0-qt-4.8.4-for-mingw32/win32-gcc/bin/i586-mingw32-gcc-4.8.0
  102: STRIP=/usr/local/gcc-4.8.0-qt-4.8.4-for-mingw32/win32-gcc/bin/i586-mingw32-strip
  103: LFLAGS= -g
  104: CFLAGS= -g
  105: LFLAGSOPT= -O3 -s
  106: CFLAGSOPT= -O3
  107: UNIX2DOS= unix2dos
  108: SETUPCOMP= ~/bin/InnoSetup5Playonmac
  109: CP= cp
  110: BINVERSION=WIN32onOSX
  111: endif
  112: 
  113: ifdef _mw64onosx
  114: GCC=/usr/local/mingw-w64-bin_i686-darwin_20130622/bin/x86_64-w64-mingw32-gcc-4.9.0
  115: STRIP=/usr/local/mingw-w64-bin_i686-darwin_20130622/bin/x86_64-w64-mingw32-strip
  116: LFLAGS= -g
  117: CFLAGS= -g
  118: LFLAGSOPT= -O3 -lm -s
  119: CFLAGSOPT= -O3
  120: UNIX2DOS= unix2dos
  121: SETUPCOMP= ~/bin/InnoSetup5Playonmac
  122: CP= cp
  123: BINVERSION=w64-mingw32-x86-64-bin
  124: endif
  125: 
  126: ifdef _windowscl
  127: rem "C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\vcvas32.bat"
  128: endif
  129: 
  130: # make _intel64onosx=1 imachopt
  131: #source /opt/intel/bin/iccvars.sh intel64
  132: ifdef _intel64onosx
  133: GCC=/opt/intel/bin/icc
  134: CFLAGS= -m64 -g -std=c99
  135: LFLAGS= -g -m64
  136: CFLAGSOPT= -O3 -m64 -g -std=c99
  137: IGNORE :=$(shell bash -c "source /opt/intel/bin/iccvars.sh intel64; env | sed 's/=/:=/' | sed 's/^/export /' > makeenv")
  138: include makeenv
  139: #lipo -create -arch i386 HelloWorld_32 -arch x86_64 HelloWorld_64 -output HelloWorld
  140: LFLAGSOPT= -O3 -m64
  141: UNIX2DOS= unix2dos
  142: SETUPCOMP= ~/bin/InnoSetup5Playonmac
  143: CP= cp
  144: BINVERSION=osx-intel-x86-64-bin
  145: #imach_64$(VERSION)
  146: #
  147: endif
  148: 
  149: ifdef _intel32onosx
  150: GCC=/opt/intel/bin/icc
  151: CFLAGS= -m32 -g -std=c99
  152: LFLAGS= -g -m32
  153: CFLAGSOPT= -O3 -m32 -g -std=c99
  154: IGNORE :=$(shell bash -c "source /opt/intel/bin/iccvars.sh ia32; env | sed 's/=/:=/' | sed 's/^/export /' > makeenv")
  155: include makeenv
  156: #lipo -create -arch i386 HelloWorld_32 -arch x86_64 HelloWorld_64 -output HelloWorld
  157: #lipo -create -arch i386 imach_32$(VERSION) -arch x86_64 imach_64$(VERSION) -output imach$(VERSION)
  158: LFLAGSOPT= -O3 -m32
  159: UNIX2DOS= unix2dos
  160: SETUPCOMP= ~/bin/InnoSetup5Playonmac
  161: CP= cp
  162: BINVERSION=osx-intel-ia32-bin
  163: endif
  164: 
  165: ifdef _linux64onosx
  166: GCC=/usr/local/gcc-4.8.1-for-linux64/bin/x86_64-pc-linux-gcc
  167: STRIP=/usr/local/gcc-4.8.1-for-linux64/bin/x86_64-pc-linux-strip
  168: LFLAGS= -g
  169: CFLAGS= -g
  170: LFLAGSOPT= -O3 -lm -s
  171: CFLAGSOPT= -O3
  172: UNIX2DOS= unix2dos
  173: SETUPCOMP= ~/bin/InnoSetup5Playonmac
  174: CP= cp
  175: BINVERSION=linux-x86-64-bin
  176: endif
  177: 
  178: ifdef _linux32onosx
  179: #GCC=/usr/local/i386-mingw32-4.3.0/bin/i386-mingw32-gcc
  180: #GCC=/usr/local/cross-tools/bin/i686-w64-mingw32-gcc
  181: GCC=/usr/local/gcc-4.8.1-for-linux32/bin/i586-pc-linux-gcc
  182: STRIP=/usr/local/gcc-4.8.1-for-linux32/bin/i586-pc-linux-strip
  183: LFLAGS= -g
  184: CFLAGS= -g
  185: LFLAGSOPT= -O3 -s -lm
  186: CFLAGSOPT= -O3
  187: UNIX2DOS= unix2dos
  188: SETUPCOMP= ~/bin/InnoSetup5Playonmac
  189: CP= cp
  190: BINVERSION=linux-i586-bin
  191: endif
  192: 
  193: ifdef _linux
  194: #CFLAGS= -g -DUNIX -DDEBUGHESS
  195: CFLAGS= -g -DDEBUG
  196: LFLAGS= -g -lm
  197: IGSL= -I/usr/include/gsl
  198: LGSL= -lgsl -lgslcblas
  199: INLOPT= -I/usr/local/include
  200: LNLOPT= -lm -L/usr/local/lib -lnlopt
  201: CFLAGSOPT= -O3 -g
  202: LFLAGSOPT= -O3 -g -lm
  203: UNIX2DOS= unix2dos
  204: SETUPCOMP= wine "C:////Program Files////Inno Setup 4////Compil32.exe"
  205: BINVERSION=LINUXnative
  206: CP= cp
  207: endif
  208: 
  209: SED= sed
  210: PACKAGE=imach
  211: PROGRAM=IMaCh
  212: 
  213: 
  214: TMPSETUPSCRIPT=setup.iss
  215: TMPNOREGSETUPSCRIPT=noreg-setup.iss
  216: TMPSCRIPTIN=setup.iss.in
  217: APPLICATION=IMaCh
  218: APPNAME=$(APPLICATION)-$(VERSION)
  219: GNUPLOTVERSION=4.0
  220: LICENSE=Copying
  221: TMPSETUPEXE=imach-$(VERSION)-$(IMACHSETUPVERSION)-setup.exe
  222: TMPNOREGSETUPEXE=imach-$(VERSION)-$(IMACHSETUPVERSION)-noreg-setup.exe
  223: LICENSEFILE=$(LICENSE)
  224: INFOBEFOREFILE=README.txt
  225: 
  226: setup.iss: setup.iss.in
  227: 	$(SED) -e "s/@APPNAME@/$(APPNAME)/g; \
  228: 		s/@NOTINNOREG@//g; \
  229: 		s/@NOREG@//g; \
  230: 		s/@IMACHSETUPVERSION@/$(IMACHSETUPVERSION)/g; \
  231: 		s/@VERSION@/$(VERSION)/g; \
  232: 		s/@GNUPLOTVERSION@/$(GNUPLOTVERSION)/g; \
  233: 		s/@INFOBEFOREFILE@/$(INFOBEFOREFILE)/g; \
  234: 		s/@LICENSEFILE@/$(LICENSEFILE)/g; \
  235: 		s/@PACKAGE@/$(PACKAGE)/g; \
  236: 		s/@DICTLANG@/$(DICTLANG)/g; \
  237: 	   	s/@VERMAJOR@/$(VERMAJOR)/g; \
  238: 		s/@COPYRIGHT@/$(COPYRIGHT)/g;" \
  239: 		setup.iss.in > setup.iss
  240: 
  241: $(TMPNOREGSETUPSCRIPT): $(TMPSCRIPTIN)
  242: 	$(SED) -e "s/@APPNAME@/$(APPNAME)/g; \
  243: 		s/@NOTINNOREG@/\\;/g; \
  244: 		s/@NOREG@/noreg-/g; \
  245: 		s/@IMACHSETUPVERSION@/$(IMACHSETUPVERSION)/g; \
  246: 		s/@VERSION@/$(VERSION)/g; \
  247: 		s/@GNUPLOTVERSION@/$(GNUPLOTVERSION)/g; \
  248: 		s/@INFOBEFOREFILE@/$(INFOBEFOREFILE)/g; \
  249: 		s/@LICENSEFILE@/$(LICENSEFILE)/g; \
  250: 		s/@PACKAGE@/$(PACKAGE)/g; \
  251: 		s/@DICTLANG@/$(DICTLANG)/g; \
  252: 	   	s/@VERMAJOR@/$(VERMAJOR)/g; \
  253: 		s/@COPYRIGHT@/$(COPYRIGHT)/g;" \
  254: 		$(TMPSCRIPTIN) > $(TMPNOREGSETUPSCRIPT)
  255: #	$(UNIX2DOS) $(TMPNOREGSETUPSCRIPT)
  256: 
  257: $(TMPSETUPEXE): $(TMPSETUPSCRIPT)
  258: 	$(SETUPCOMP) /cc $(TMPSETUPSCRIPT)
  259: 
  260: $(TMPNOREGSETUPEXE): $(TMPNOREGSETUPSCRIPT)
  261: 	$(SETUPCOMP) /cc $(TMPNOREGSETUPSCRIPT)
  262: 
  263: PARAM=mypar1
  264: 
  265: imachcyg-setup: imachcygopt.exe setup.iss
  266: 	touch setup.iss.in
  267: 	$(CP) imachcygopt.exe imach.exe
  268: 	$(CP) imachcygopt.exe imach$(VERSION)-$(BINVERSION).exe
  269: 	$(SETUPCOMP) /cc setup.iss
  270: 	cp Output/$(TMPSETUPEXE) imachcyg-setup
  271: 
  272: # imachcyg-noreg-setup : imachcygopt imachcygopt.o setup.iss.in noreg-setup.iss $(TMPNOREGSETUPEXE)
  273: imachcyg-noreg-setup: imachcygopt.exe noreg-setup.iss
  274: 	touch setup.iss.in
  275: 	$(CP) imachcygopt.exe imach.exe
  276: 	$(CP) imachcygopt.exe imach$(VERSION)-$(BINVERSION).exe
  277: 	$(SETUPCOMP) /cc $(TMPNOREGSETUPSCRIPT)
  278: 	cp Output/$(TMPNOREGSETUPEXE) imachcyg-noreg-setup
  279: 
  280: imachILC64-setup: IMaCh-ilc64.exe setup.iss
  281: 	touch setup.iss.in
  282: 	$(CP) IMaCh-ilc64.exe imach.exe
  283: 	$(SETUPCOMP) /cc setup.iss
  284: 	$(CP) Output/$(TMPSETUPEXE) imachILC64-setup
  285: 
  286: imachILC64-noreg-setup: IMaCh-ilc64.exe noreg-setup.iss
  287: 	touch setup.iss.in
  288: 	$(CP) IMaCh-ilc64.exe imach.exe
  289: 	$(SETUPCOMP) /cc $(TMPNOREGSETUPSCRIPT)
  290: 	$(CP) Output/$(TMPSETUPEXE) imachILC64-noreg-setup
  291: 
  292: imachMVC-setup: imachMVC.exe setup.iss
  293: 	touch setup.iss.in
  294: 	$(CP) imachMVC.exe imach.exe
  295: 	$(SETUPCOMP) /cc setup.iss
  296: 	$(CP) Output/$(TMPSETUPEXE) imachcyg-setup
  297: 
  298: # imachcyg-noreg-setup : imachcygopt imachcygopt.o setup.iss.in noreg-setup.iss $(TMPNOREGSETUPEXE)
  299: imachMVC-noreg-setup: imachMVC.exe noreg-setup.iss
  300: 	touch setup.iss.in
  301: 	$(CP) imachMVC.exe imach.exe
  302: 	$(SETUPCOMP) /cc $(TMPNOREGSETUPSCRIPT)
  303: 	$(CP) Output/$(TMPNOREGSETUPEXE) imachcyg-noreg-setup
  304: 
  305: simach : simach.o 
  306: 	$(CC) $(LFLAGS) $(LGSL) -o simach simach.o
  307: simach.o : simach.c 
  308: 	$(CC) $(CFLAGS) -DGSL -c simach.c
  309: 
  310: imach : imach.o 
  311: 	$(CC) $(LFLAGS) -o imach imach.o
  312: ifdef _macosx
  313: 	$(DSYMUTIL) imach
  314: endif
  315: 
  316: imach.o : imach.c 
  317: 	 $(CC) $(CFLAGS) -DPOWELL -c imach.c
  318: 
  319: # http://msdn.microsoft.com/en-us/library/abx4dbyh%28v=vs.100%29.aspx
  320: imachcl: imach.c
  321: 	cl /O2 /MT /o imach.exe imach.c
  322: 
  323: imach097b : imach097b.o 
  324: 	$(CC) $(LFLAGS) -o imach097b imach097b.o
  325: imach097b.o : imach097b.c 
  326: 	$(CC) $(CFLAGS) -DPOWELL -c imach097b.c
  327: 
  328: 
  329: imachsimplified : imachsimplified.o 
  330: 	$(CC)  $(LFLAGSOPT) -o imachsimplified imachsimplified.o
  331: imachsimplified.o : imachsimplified.c 
  332: 	$(CC) $(CFLAGSOPT) -DPOWELL -c imachsimplified.c
  333: 
  334: imachgsl : imachgsl.o 
  335: 	$(CC) -o imachgsl imach.o  $(LFLAGS) $(LGSL) 
  336: imachgsl.o : imach.c 
  337: 	$(CC) $(CFLAGS) -DGSL $(IGSL) -c imach.c
  338: 
  339: imachNEWUOAopt : imachNEWUOAopt.o 
  340: 	$(CC) -o imachNEWUOAopt  imachNEWUOAopt.o  $(LFLAGS) -g $(LNLOPT) 
  341: imachNEWUOAopt.o : imach.c 
  342: 	$(CC) $(CFLAGS) -g -DNLOPT $(INLOPT) -DNEWUOA -o  imachNEWUOAopt.o -c imach.c
  343: 
  344: imachBOBYQAopt : imachBOBYQAopt.o 
  345: 	$(CC) -o imachBOBYQAopt imachBOBYQAopt.o  $(LFLAGS) $(LNLOPT) 
  346: imachBOBYQAopt.o : imach.c 
  347: 	$(CC) $(CFLAGS) -DNLOPT $(INLOPT) -DBOBYQA -o imachBOBYQAopt.o -c imach.c
  348: 
  349: 
  350: imachopt : imachopt.o 
  351: 	$(CC) $(LFLAGSOPT) -o imachopt imachopt.o
  352: 	ln -f imachopt imach
  353: 	$(CP) imachopt Output/imachopt$(VERSION)-$(BINVERSION)
  354: 	$(CP) -f imach ../bin
  355: ifdef _intel64onosx
  356: 	$(CP) imachopt Output/imachopt$(VERSION)-$(BINVERSION)
  357: endif
  358: ifdef _macosx
  359: 	$(STRIP) imach
  360: endif
  361: ifdef _linux32onosx
  362: 	(cd .. && gnutar jcvf src/Output/imach-Linux-$(VERSION)-$(BINVERSION).tar.bz2 bin html/doc/biaspar.imach html/doc/data1.txt)
  363: endif
  364: ifdef _linux64onosx
  365: 	(cd .. && gnutar jcvf src/Output/imach-Linux-$(VERSION)-$(BINVERSION).tar.bz2 bin html/doc/biaspar.imach html/doc/data1.txt)
  366: endif
  367: 
  368: imachopt.o : imach.c
  369: 	$(CC) $(CFLAGSOPT) -o imachopt.o -c imach.c
  370: #	$(CC) $(CFLAGSOPT) -DPOWELL -o imachopt.o -c imach.c
  371: 
  372: imachUB : imach32 imach64
  373: 	lipo -create -arch i386 imach_32 -arch x86_64 imach_64 -output imach$(VERSION)
  374: 
  375: 
  376: #imachdmg : imachopt.o create-dmg applet IMaChInfo.plist.in IMaChPkgInfo.in IMaCh.icns main.scpt.in IMaCh-ecrandemarrage.rsrc TXT.rtf
  377: imachdmg : imachopt.o create-dmg applet IMaChInfo.plist.in IMaChPkgInfo.in IMaCh.icns main.scpt.in IMaCh-ecrandemarrage.rsrc TXT.rtf
  378: 	$(CC) $(LFLAGSOPT) -o imach imachopt.o
  379: 	#hdiutil detach /Volumes/IMaCh\ $(VERSION)
  380: 	rm -rf imach$(VERSION).app
  381: 	mkdir -p imach$(VERSION).app
  382: 	mkdir -p imach$(VERSION).app/Contents
  383: 	mkdir -p imach$(VERSION).app/Contents/MacOS
  384: 	cp applet imach$(VERSION).app/Contents/MacOS
  385: 	mkdir -p imach$(VERSION).app/Contents/Resources
  386: 	mkdir -p imach$(VERSION).app/Contents/Resources/Scripts
  387: 	mkdir -p imach$(VERSION).app/Contents/Resources/bin
  388: 	mkdir -p imach$(VERSION).app/Contents/Resources/html
  389: 	cp imach imach$(VERSION).app/Contents/Resources/bin
  390: 	cp gnuplot_bin/gnuplot_2_6_5_OSX imach$(VERSION).app/Contents/Resources/bin/gnuplot
  391: 	mkdir -p imach$(VERSION).app/Contents/Resources/description.rtfd
  392: 	cp -p TXT.rtf imach$(VERSION).app/Contents/Resources/description.rtfd
  393: 	$(SED) -e "s/@VERSION@/$(VERSION)/g;" \
  394: 	IMaChInfo.plist.in  >imach$(VERSION).app/Contents/Info.plist
  395: 	cp -p IMaChPkgInfo.in  imach$(VERSION).app/Contents/PkgInfo
  396: 	cp -p IMaCh.icns  imach$(VERSION).app/Contents/Resources/applet.icns
  397: 	cp -r -p main.scpt.in imach$(VERSION).app/Contents/Resources/Scripts/main.scpt
  398: 	cp IMaCH-ecrandemarrage.rsrc imach$(VERSION).app/Contents/Resources/applet.rsrc
  399: 	cp ../html/doc/data1.txt  imach$(VERSION).app/Contents/Resources/html
  400: 	cp ../html/doc/biaspar.log  imach$(VERSION).app/Contents/Resources/html
  401: 	cp ../html/doc/biaspar.imach  imach$(VERSION).app/Contents/Resources/html
  402: 	rm -f imach$(VERSION).dmg
  403: 	./createdmg3.sh --volname "IMaCh $(VERSION)" imach$(VERSION).dmg imach$(VERSION)
  404: 	mv  imach$(VERSION).dmg Output/
  405: #	./create-dmg --volname "IMaCh $(VERSION)" imach$(VERSION).dmg imach$(VERSION).app
  406: #	./createdmg2.sh --volname "IMaCh $(VERSION)" imach$(VERSION).dmg imach$(VERSION)
  407: 
  408: upload:
  409: 	ls Output/* | xargs md5sum
  410: 	rsync -v Output/* brouard@henry.ined.fr:/home/euroreves/html/imach/
  411: 
  412: imachcyg : imachcyg.o
  413: 	$(CC) $(LFLAGS) -o imach imachcyg.o
  414: imachcyg.o : imach.c 
  415: 	$(CC) $(CFLAGS)  -c -o imachcyg.o imach.c
  416: imachcygopt.exe : imachcygopt.o
  417: 	$(CC) $(LFLAGSOPT) -o imachcygopt.exe imachcygopt.o
  418: imachcygopt.o : imach.c 
  419: 	$(CC) $(CFLAGSOPT) -c -o imachcygopt.o imach.c
  420: 
  421: imachw32.o : imach.c
  422: 	i386-mingw32-gcc -c imach.c -o imachw32.o
  423: imach.exe : imachw32.o 
  424: 	i386-mingw32-gcc  -mwindows -o imach.exe -lm imachw32.o
  425: 	i386-mingw32-strip imach.exe
  426: 
  427: valgrind-test :  imach $(TESTFILE) 
  428: 	valgrind  --dsymutil=yes --leak-check=full --show-leak-kinds=all --track-origins=yes ./imach $(TESTFILE)
  429: test:  imach $(TESTFILE) 
  430: 	gdb ./imach $(TESTFILE)
  431: 
  432: $(PARAM).htm: imach $(PARAM).imach data1.txt
  433: 	./imach $(PARAM).imach
  434: 
  435: clean: 
  436: 	rm or$(PARAM).txt er$(PARAM).txt pijr$(PARAM).txt plr$(PARAM).txt \
  437: 	r$(PARAM).txt tr$(PARAM).txt vpl$(PARAM).txt pr$(PARAM).txt \
  438: 	vr$(PARAM).txt *.gif imach.exe imach.o
  439: 
  440: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>