Skript file: /~heha/messtech/d2s.zip/SRC/MAKEFILE

MYUNITS=n:\henni\common

zip: d2s.zip

d2s.zip: d2s.exe d2s32.exe d2s.hlp d2s.hpj d2s.rtf\
 makefile
	pkzip -n -u $< d2s.exe d2s.hlp d2s32.exe
	mkdir SRC
	copy d2s.pas src
	copy d2s.res src
	copy d2s.hpj src
	copy d2s.rtf src
#	copy testcli.pas src
	copy makefile src
	copy $(MYUNITS)\wutils.pas src
#	copy $(MYUNITS)\parser.pas src
	copy $(MYUNITS)\thunk16.pas src
	copy $(MYUNITS)\tray16.pas src
	copy $(MYUNITS)\winsock.pas src
	copy $(MYUNITS)\wutils32.pas src
	pkzip -rP -n -u $< src\*.*
	echo j|del src\*.* 
	rmdir src

exe: d2s.exe

d2s.exe: d2s.pas d2s.res
	bpc -cw -m -u$(MYUNITS) d2s.pas
	fpatch -s"This program" -r"Dieses Programm erfordert Microsoft Windows"0d0a"$" $<

d2s32.exe: d2s.pas d2s32.res wutils32.pas
	copy d2s.pas d2s32.pas
	dcc32 -w -h -m d2s32.pas
	rem del d2s32.pas

d2s32.res: d2s.rc
	brcc32 -fod2s32.res d2s.rc

#testcli.exe: testcli.pas
#	bpc -cw -m -u$(MYUNITS) testcli.pas

hlp: d2s.hlp

d2s.hlp: d2s.hpj d2s.rtf
	rtfmod -e d2s.rtf
	hcp d2s.hpj
Detected encoding: ASCII (7 bit)2