home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mclb.zip / lb.pak / SAMPLES / samp4 / MAKEFILE < prev    next >
Text File  |  1995-07-31  |  835b  |  31 lines

  1. # Make File for IBM C/Set compiler
  2.  
  3. all: samp4.EXE
  4. samp4: samp4.EXE
  5.  
  6. #--- Path to MCLB toolkit directory ---
  7. mclbdir = ..\..
  8.  
  9. #For debugging:
  10. #iccflags  = /c /Gd- /Sm /Re /ss /Gm+ /Gt+ /Q /O- /Ti+ /Gh /I$(mclbdir)
  11.  
  12. #For non-debug:
  13. iccflags   = /c /Gd- /Sm /Re /ss /Gm+ /Gt+ /Q /O+ /Ti- /I$(mclbdir)
  14.  
  15.  
  16. samp4.EXE:    samp4.OBJ samp4.RES samp4.DEF mclb.obj dmlb.obj
  17.   link386 /DEBUG /NOE /ALIGN:16 /EXEPACK /M /BASE:0x10000 samp4.OBJ mclb.obj dmlb.obj,,,,samp4.DEF;
  18.   rc samp4.RES
  19.  
  20. samp4.OBJ:     samp4.C DIALOG.H
  21.   icc $(iccflags) samp4.C
  22.  
  23. mclb.obj:      $(mclbdir)\mclb.c $(mclbdir)\mclb.h
  24.   icc $(iccflags) $(mclbdir)\mclb.c
  25.  
  26. dmlb.obj:      $(mclbdir)\dmlb.c $(mclbdir)\dmlb.h
  27.   icc $(iccflags) $(mclbdir)\dmlb.c
  28.  
  29. samp4.RES:    DIALOG.DLG DIALOG.H samp4.RC
  30.   rc -r -I $(mclbdir) samp4.RC samp4.RES
  31.