Category : BASIC Source Code
Archive   : VBFILEIO.ZIP
Filename : MAKEFILE

 
Output of file : MAKEFILE contained in archive : VBFILEIO.ZIP

##### DEBUG Defined #####
DEBUG = 0

##### Build Option Macros #####
!if $(DEBUG)
DDEF = -DDEBUG
CLOPT = -Zid -Od
MOPT = -Zi
LOPT = /CO /LI /MAP
!else
DDEF =
CLOPT = -Os
LOPT =
!endif

##### General Macros #####
DEF = -DSTRICT

##### Tool Macros #####
ASM = masm -Mx $(MOPT) $(DDEF) $(DEF)
CCL = cl -nologo -c -AL -GD -G2 -Zp -W3 $(CLOPT) $(DDEF) $(DEF)
CCS = cl -nologo -c -AS -GA -G2 -Zp -W3 $(CLOPT) $(DDEF) $(DEF)
LINK = link /NOD /NOE $(LOPT)
RC = rc $(DDEF)

.asm.obj:
$(ASM) $*.asm;

goal: vbfileio.dll vbdebug.exe

vbfileio.obj: vbfileio.c
$(CCL) vbfileio.c

wep.obj: wep.c
$(CCL) -NT WEP_TEXT wep.c

vbdebug.obj: vbdebug.c
$(CCS) vbdebug.c

vbfileio.dll: vbfileio.obj libentry.obj wep.obj vbfileio.def
$(LINK) @<<
vbfileio.obj wep.obj libentry.obj,
vbfileio.dll,
vbfileio.map,
libw ldllcew,
vbfileio.def
<<
$(RC) vbfileio.dll

vbdebug.exe: vbdebug.obj vbdebug.def
$(LINK) @<<
vbdebug.obj,
vbdebug.exe,
vbdebug.map,
libw slibcew,
vbdebug.def
<<
$(RC) vbdebug.exe

##### Clean Directory #####
clean:
-del *.obj
-del *.res
-del *.map
-del *.sym
-del *.lib