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