Annotation of imach/src/Makefile, revision 1.45

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

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