home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / MNUM416D.SZH / MAKEFILE.DOS < prev    next >
Text File  |  1991-04-16  |  1KB  |  34 lines

  1. ###############################################################
  2. #  Make file for MsgNum -- DOS version                        #
  3. #                                                             #
  4. #  use MAKE /f MAKEFILE.DOS                                   #
  5. #                                                             #
  6. # Differences from original ReplyLnk:                         #
  7. #   Only three ASM file:  CRC_ASM, LOWLEVEL, and FILEDIR      #
  8. #                                                             #
  9. ###############################################################
  10. model=S            # use large model when debugging -- bugs JUMP out at you
  11. mode=r
  12. linklibs=$(model)libce$(mode).lib
  13. CFLAGS=-A$(model) -L$(mode) -DMSC -Od -Gw -Zpel -W4 -J -nologo
  14. #CFLAGS=-A$(model) -L$(mode) -DMSC -Oxaz -Gs -Zpel -W4 -J -nologo
  15. LINK=D:\C600\Binb\Link.exe
  16. main=msgnum
  17.  
  18. cobj=$(main).OBJ
  19. mobj=LOWLEVEL.OBJ FILEDIR.OBJ
  20. objs=$(cobj) $(mobj)
  21.  
  22. $(main).exe:  $(objs)
  23.  $(LINK) $(objs),$(main).exe/E/NOD/NOE/ST:3000,NUL.MAP,$(linklibs);
  24.  
  25. $(cobj): $(cobj:.OBJ=.C)
  26.  !CL $(CFLAGS) -c $?
  27.  
  28. $(cobj:.OBJ=.C): types.h funcs.h bbsdev.h defines.h
  29.  touch $*.c
  30.  
  31. $(mobj): $(mobj:.OBJ=.ASM)
  32.  !MASM /DMem_$(model) $?;
  33.  
  34.