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 = libpngstat.lib libpng.dll 13 #------------------------------------------------------------------------------ 14 default: $(PROJECTS) 15 #------------------------------------------------------------------------------ 16 17 libpngstat.lib: libpngstat.bpr 18 $(ROOT)\bin\bpr2mak -t$(ROOT)\bin\deflib.bmk $** 19 $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak 20 21 libpng.dll: libpng.bpr 22 $(ROOT)\bin\bpr2mak $** 23 $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak 24 25 26