1 #------------------------------------------------------------------------------ 2 VERSION = BWS.01 3 #------------------------------------------------------------------------------ 4 !ifndef ROOT 5 ROOT = $(MAKEDIR)\.. 6 !endif 7 #------------------------------------------------------------------------------ 8 MAKE = $(ROOT)\bin\make.exe -$(MAKEFLAGS) -f$** 9 DCC = $(ROOT)\bin\dcc32.exe $** 10 BRCC = $(ROOT)\bin\brcc32.exe $** 11 #------------------------------------------------------------------------------ 12 PROJECTS = setup libexpat_mtd.dll libexpats_mtd.lib libexpatw_mtd.dll \ 13 libexpatws_mtd.lib elements.exe outline.exe xmlwf.exe 14 #------------------------------------------------------------------------------ 15 default: $(PROJECTS) 16 #------------------------------------------------------------------------------ 17 18 libexpat_mtd.dll: expat.bpr 19 $(ROOT)\bin\bpr2mak $** 20 $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak 21 22 libexpats_mtd.lib: expat_static.bpr 23 $(ROOT)\bin\bpr2mak -t$(ROOT)\bin\deflib.bmk $** 24 $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak 25 26 libexpatw_mtd.dll: expatw.bpr 27 $(ROOT)\bin\bpr2mak $** 28 $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak 29 30 libexpatws_mtd.lib: expatw_static.bpr 31 $(ROOT)\bin\bpr2mak -t$(ROOT)\bin\deflib.bmk $** 32 $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak 33 34 elements.exe: elements.bpr 35 $(ROOT)\bin\bpr2mak $** 36 $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak 37 38 outline.exe: outline.bpr 39 $(ROOT)\bin\bpr2mak $** 40 $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak 41 42 xmlwf.exe: xmlwf.bpr 43 $(ROOT)\bin\bpr2mak $** 44 $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak 45 46 setup: setup.bat 47 call $** 48 49 50