version 1.12, 2005/09/30 17:33:36
|
version 1.14, 2005/10/17 15:30:26
|
Line 1
|
Line 1
|
#CC= gcc -v
|
#CC= gcc -v
|
CC= gcc
|
CC= gcc
|
|
|
LFLAGS= -g -lm
|
# Mac OS/X version
|
CFLAGS= -g
|
LFLAGS= -O3 -lm -DUNIX
|
|
CFLAGS= -O3 -DUNIX
|
#LFLAGS= -O3 -lm
|
UNIX2DOS= echo "Unix2dos "
|
#CFLAGS= -O3
|
|
|
|
|
# Windows cygwin version
|
#LFLAGS= -g -mno-cygwin
|
#LFLAGS= -g -mno-cygwin
|
#CFLAGS= -g
|
#CFLAGS= -g
|
|
|
#LFLAGS= -O3 -mno-cygwin
|
#LFLAGS= -O3 -mno-cygwin
|
#CFLAGS= -O3 -mno-cygwin
|
#CFLAGS= -O3 -mno-cygwin
|
|
#LFLAGS= -g -lm
|
|
#CFLAGS= -g
|
|
#UNIX2DOS= unix2dos
|
|
|
|
# Linux version
|
|
#LFLAGS= -O3 -lm
|
|
#CFLAGS= -O3
|
|
#UNIX2DOS= unix2dos
|
|
|
SED= sed
|
SED= sed
|
PACKAGE=imach
|
PACKAGE=imach
|
Line 48 TMPSETUPEXE=imach-setup.exe
|
Line 56 TMPSETUPEXE=imach-setup.exe
|
LICENSEFILE=$(LICENSE)
|
LICENSEFILE=$(LICENSE)
|
INFOBEFOREFILE=Readme.txt
|
INFOBEFOREFILE=Readme.txt
|
|
|
$(TMPSETUPSCRIPT):
|
$(TMPSETUPSCRIPT): $(TMPSCRIPTIN)
|
$(SED) -e "s/@APPNAME@/$(APPNAME)/g; \
|
$(SED) -e "s/@APPNAME@/$(APPNAME)/g; \
|
s/@VERSION@/$(VERSION)/g; \
|
s/@VERSION@/$(VERSION)/g; \
|
s/@GNUPLOTVERSION@/$(GNUPLOTVERSION)/g; \
|
s/@GNUPLOTVERSION@/$(GNUPLOTVERSION)/g; \
|
Line 59 $(TMPSETUPSCRIPT):
|
Line 67 $(TMPSETUPSCRIPT):
|
s/@VERMAJOR@/$(VERMAJOR)/g; \
|
s/@VERMAJOR@/$(VERMAJOR)/g; \
|
s/@COPYRIGHT@/$(COPYRIGHT)/g;" \
|
s/@COPYRIGHT@/$(COPYRIGHT)/g;" \
|
$(TMPSCRIPTIN) > $(TMPSETUPSCRIPT)
|
$(TMPSCRIPTIN) > $(TMPSETUPSCRIPT)
|
|
$(UNIX2DOS) $(TMPSETUPSCRIPT)
|
|
|
$(TMPSETUPEXE):
|
$(TMPSETUPEXE): $(TMPSETUPSCRIPT)
|
$(SETUPCOMP) /cc $(TMPSETUPSCRIPT)
|
$(SETUPCOMP) /cc $(TMPSETUPSCRIPT)
|
|
|
PARAM=mypar1
|
PARAM=mypar1
|