Category : Windows 3.X Files
Archive   : MF-DB103.ZIP
Filename : MAKEFILE

 
Output of file : MAKEFILE contained in archive : MF-DB103.ZIP
##### Module Macro #####
DLLNAME = MFCONV
DLLSRCS = $(DLLNAME).c
DLLOBJS = libentry.obj

##### C7 Macro #####
C7 = 1

##### Library Macro #####
DLLLIBS = libw ldllcew
DLLMOD = /ALw

##### Resource Macro #####
DLLRCFILES=

##### DEBUG Defined #####
DEBUG = 1

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

##### General Macros #####
DEF =

##### Tool Macros #####
ASM = masm -Mx $(MOPT) $(DDEF) $(DEF)
CC = cl -nologo -c $(APPMOD) -G2sw -Zp -W3 $(CLOPT) $(DDEF) $(DEF)
CC2 = cl -nologo -c $(DLLMOD) -G2sw -Zp -W3 $(CLOPT) $(DDEF) $(DEF)
LINK = link /NOD /NOE $(LOPT)
RC = rc $(DDEF) $(DEF) -K
HC = hc

##### Inference Rules #####
.c.obj:
$(CC) $*.c

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

.rc.res:
$(RC) -r $*.rc

##### Main (default) Target #####
goal: $(DLLNAME).lib

##### Dependents For Goal and Command Line #####
$(DLLNAME).obj: $(DLLNAME).c
$(CC2) $*.c

$(DLLNAME).dll: $(DLLSRCS:.c=.obj) $(DLLNAME).def
$(LINK) @<<
$(DLLSRCS:.c=.obj) $(DLLOBJS),
$(DLLNAME).dll,
$(DLLNAME).map,
$(DLLLIBS),
$(DLLNAME).def
<<
$(RC) -T $(DLLNAME).dll
!if $(DEBUG)
!if !$(C7)
cvpack -p $(DLLNAME).dll
!endif
mapsym $(DLLNAME).map
!endif

$(DLLNAME).lib: $(DLLNAME).dll
implib $(DLLNAME).lib $(DLLNAME).def

##### Dependents #####
$(DLLSRCS:.c=.obj): $(DLLINCLS)

##### Clean Directory #####
clean:
-del *.obj
-del *.res
-del *.exe
-del *.dll
-del *.lib
-del *.sym
-del *.map
ALL : sptest.exe

sptest.obj : sptest.c
cl -c -Gsw -Zdip -AL -W3 -D -Od -Ot sptest.c


sptest.exe : sptest.def sptest.obj
link /CO @sptest.lnk


##### Module Macro #####
DLLNAME = MFUDK
DLLSRCS = $(DLLNAME).c
DLLOBJS = libentry.obj

##### C7 Macro #####
C7 = 1

##### Library Macro #####
DLLLIBS = libw ldllcew
DLLMOD = /ALw

##### Resource Macro #####
DLLRCFILES=

##### DEBUG Defined #####
DEBUG = 1

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

##### General Macros #####
DEF =

##### Tool Macros #####
ASM = masm -Mx $(MOPT) $(DDEF) $(DEF)
CC = cl -nologo -c $(APPMOD) -G2sw -Zp -W3 $(CLOPT) $(DDEF) $(DEF)
CC2 = cl -nologo -c $(DLLMOD) -G2sw -Zp -W3 $(CLOPT) $(DDEF) $(DEF)
LINK = link /NOD /NOE $(LOPT)
RC = rc $(DDEF) $(DEF) -K
HC = hc

##### Inference Rules #####
.c.obj:
$(CC) $*.c

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

.rc.res:
$(RC) -r $*.rc

##### Main (default) Target #####
goal: $(DLLNAME).lib

##### Dependents For Goal and Command Line #####
$(DLLNAME).obj: $(DLLNAME).c
$(CC2) $*.c

$(DLLNAME).dll: $(DLLSRCS:.c=.obj) $(DLLNAME).def
$(LINK) @<<
$(DLLSRCS:.c=.obj) $(DLLOBJS),
$(DLLNAME).dll,
$(DLLNAME).map,
$(DLLLIBS),
$(DLLNAME).def
<<
$(RC) -T $(DLLNAME).dll
!if $(DEBUG)
!if !$(C7)
cvpack -p $(DLLNAME).dll
!endif
mapsym $(DLLNAME).map
!endif

$(DLLNAME).lib: $(DLLNAME).dll
implib $(DLLNAME).lib $(DLLNAME).def

##### Dependents #####
$(DLLSRCS:.c=.obj): $(DLLINCLS)

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


  3 Responses to “Category : Windows 3.X Files
Archive   : MF-DB103.ZIP
Filename : MAKEFILE

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/