--- imach/src/Makefile 2009/07/06 08:14:17 1.26 +++ imach/src/Makefile 2009/07/06 10:22:06 1.27 @@ -1,11 +1,12 @@ -VERSION=0.98h -COPYRIGHT=Copyright (C) 2002-2006 INED-EUROREVES-Institut de longévité +VERSION=0.98k +COPYRIGHT=Copyright (C) 2002-2009 INED-EUROREVES-Institut de longévité IMACHSETUPVERSION=1 # make _linux=1 imachopt # make _linux=1 imach -# make _macosx=1 +# make _macosx=1 imach +# make _macosx=1 imachdmg # Windows # make _windows=1 imachcyg @@ -25,7 +26,10 @@ CFLAGS= -O3 -DUNIX UNIX2DOS= echo "Unix2dos " # Don'know how to launch imach098.pmsp in batch to create package file imach098Panther.pkg # ./createdmg.sh imach imach098panther ./imach098Panther +# ./createdmg.sh imach imach098leopard ./imach098Leopard # and directory ./imach098Panther contains package file imach098Panther.pkg +#./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/ +# ./create-dmg --volname "IMaCh 0.98j" imach098j.dmg imach098Leopard endif ifdef _windows @@ -133,6 +137,12 @@ imachopt : imachopt.o imachopt.o : imach.c $(CC) $(CFLAGSOPT) -o imachopt.o -c imach.c +imachdmg : imachopt.o create-dmg + $(CC) $(LFLAGSOPT) -o imach imachopt.o + cp imach imach098Leopard/bin + ./create-dmg --volname "IMaCh $(VERSION)" imach$(VERSION).dmg imach098Leopard + + imachcyg : imachcyg.o strsep.o $(CC) $(LFLAGS) -o imach imachcyg.o strsep.o imachcyg.o : imach.c