Category : Databases and related files
Archive   : MF-DB102.ZIP
Filename : CONVTEST.MAK
NAME = CONVTEST
SRCS = $(NAME).c
OBJS =
##### C7 #####
C7 = 1
##### Library Macros #####
!if $(C7)
LIBS = libw slibcew
!else
LIBS = libw slibcew commdlg
!endif
MOD = -AS
##### Include Macro #####
#INCLS = $(NAME).h
##### Resource Macro #####
#RCFILES = $(NAME).rc
##### DEBUG Macro Defined #####
DEBUG = 1
##### 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 =
##### Tool Macros #####
ASM = masm -Mx $(MOPT) $(DDEF) $(DEF)
CC = cl -nologo -c -G2sw -Zp -W2 $(MOD) $(CLOPT) $(DDEF) $(DEF)
LINK = link /NOD /NOE $(LOPT)
RC = rc $(DDEF) $(DEF)
HC = hc
##### Inference Rules #####
.c.obj:
$(CC) $*.c
.asm.obj:
$(ASM) $*.asm;
.rc.res:
$(RC) -r $*.rc
##### Main (default) Target #####
goal: $(NAME).exe
##### Dependents For Goal and Command Line #####
$(NAME).exe: $(SRCS:.c=.obj) $(NAME).def $(NAME).res
$(LINK) @<<
$(SRCS:.c=.obj) $(OBJS),
$(NAME).exe,
$(NAME).map,
$(LIBS),
$(NAME).def
<<
$(RC) -T $(NAME).res
!if $(DEBUG)
!if !$(C7)
cvpack -p $(NAME).exe
!endif
mapsym $(NAME).map
!endif
##### Dependents #####
$(SRCS:.c=.obj): $(INCLS)
$(NAME).res: $(RCFILES)
##### Clean Directory #####
clean:
-del *.obj
-del *.res
-del *.exe
-del *.sym
-del *.map
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
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/