Category : OS/2 Files
Archive   : PMHPENV.ZIP
Filename : PMHPENV.MAK
PROJFILE = pmhpenv.mak
DEBUG = 0
PWBRMAKE = pwbrmake
NMAKEBSC1 = set
NMAKEBSC2 = nmake
BRFLAGS = /o $(PROJ).bsc
BROWSE = 0
LINKER = link
ILINK = ilink
LRF = echo > NUL
BIND = bind
RC = rc
IMPLIB = implib
LFLAGS_G = /STACK:8192 /NOI /BATCH
LFLAGS_D = /CO /INC /FAR /PACKC /PACKD /PMTYPE:PM
LFLAGS_R = /EXE /FAR /PACKC /PACKD /PMTYPE:PM
MAPFILE_D = NUL
MAPFILE_R = NUL
CC = cl
CFLAGS_G = /AL /W4 /G2 /Zp /BATCH
CFLAGS_D = /Od /Zi /Gi$(PROJ).mdt /Gs
CFLAGS_R = /Ot /Oi /Ol /Oe /Og /Gs
ASM = masm
AFLAGS_G = /Mx /T
AFLAGS_D = /Zi
CVFLAGS = /50
OBJS = pmhpenv.obj
RESS = pmhpenv.res
SBRS = pmhpenv.sbr
all: $(PROJ).exe
.SUFFIXES: .c .sbr .rc .res .obj
pmhpenv.obj : pmhpenv.c d:\include\malloc.h d:\include\stdio.h\
d:\include\stdlib.h d:\include\string.h d:\include\os2.h pmenv.h\
C:\sms\pm\gnl\printerr.h d:\include\os2def.h d:\include\bse.h\
d:\include\pm.h d:\include\bsedos.h d:\include\bsesub.h\
d:\include\bseerr.h d:\include\bsedev.h d:\include\pmwin.h\
d:\include\pmgpi.h d:\include\pmdev.h d:\include\pmavio.h\
d:\include\pmpic.h d:\include\pmord.h d:\include\pmbitmap.h\
d:\include\pmfont.h d:\include\pmtypes.h d:\include\pmmle.h\
d:\include\pmshl.h d:\include\pmerr.h d:\include\pmhelp.h
pmhpenv.sbr : pmhpenv.c d:\include\malloc.h d:\include\stdio.h\
d:\include\stdlib.h d:\include\string.h d:\include\os2.h pmenv.h\
C:\sms\pm\gnl\printerr.h d:\include\os2def.h d:\include\bse.h\
d:\include\pm.h d:\include\bsedos.h d:\include\bsesub.h\
d:\include\bseerr.h d:\include\bsedev.h d:\include\pmwin.h\
d:\include\pmgpi.h d:\include\pmdev.h d:\include\pmavio.h\
d:\include\pmpic.h d:\include\pmord.h d:\include\pmbitmap.h\
d:\include\pmfont.h d:\include\pmtypes.h d:\include\pmmle.h\
d:\include\pmshl.h d:\include\pmerr.h d:\include\pmhelp.h
pmhpenv.res : pmhpenv.rc d:\include\os2.h pmenv.h help.rc d:\include\os2def.h\
d:\include\bse.h d:\include\pm.h d:\include\bsedos.h\
d:\include\bsesub.h d:\include\bseerr.h d:\include\bsedev.h\
d:\include\pmwin.h d:\include\pmgpi.h d:\include\pmdev.h\
d:\include\pmavio.h d:\include\pmpic.h d:\include\pmord.h\
d:\include\pmbitmap.h d:\include\pmfont.h d:\include\pmtypes.h\
d:\include\pmmle.h d:\include\pmshl.h d:\include\pmerr.h\
d:\include\pmhelp.h
$(PROJ).bsc : $(SBRS)
$(PWBRMAKE) @<<
$(BRFLAGS) $(SBRS)
<<
$(PROJ).exe : $(OBJS) $(RESS)
!IF $(DEBUG)
$(LRF) @<<$(PROJ).lrf
$(RT_OBJS: = +^
) $(OBJS: = +^
)
$@
$(MAPFILE_D)
$(LLIBS_G: = +^
) +
$(LLIBS_D: = +^
) +
$(LIBS: = +^
)
$(DEF_FILE) $(LFLAGS_G) $(LFLAGS_D);
<<
!ELSE
$(LRF) @<<$(PROJ).lrf
$(RT_OBJS: = +^
) $(OBJS: = +^
)
$@
$(MAPFILE_R)
$(LLIBS_G: = +^
) +
$(LLIBS_R: = +^
) +
$(LIBS: = +^
)
$(DEF_FILE) $(LFLAGS_G) $(LFLAGS_R);
<<
!ENDIF
!IF $(DEBUG)
$(ILINK) -a -e "$(LINKER) @$(PROJ).lrf" $@
!ELSE
$(LINKER) @$(PROJ).lrf
!ENDIF
$(RC) $(RESS) $@
.c.sbr :
!IF $(DEBUG)
$(CC) /Zs $(CFLAGS_G) $(CFLAGS_D) /FR$@ $<
!ELSE
$(CC) /Zs $(CFLAGS_G) $(CFLAGS_R) /FR$@ $<
!ENDIF
.rc.res :
$(RC) /r $< $@
.c.obj :
!IF $(DEBUG)
$(CC) /c $(CFLAGS_G) $(CFLAGS_D) /Fo$@ $<
!ELSE
$(CC) /c $(CFLAGS_G) $(CFLAGS_R) /Fo$@ $<
!ENDIF
run: $(PROJ).exe
$(PROJ).exe $(RUNFLAGS)
debug: $(PROJ).exe
CVP $(CVFLAGS) $(PROJ).exe $(RUNFLAGS)
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/