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

  1. # Make File for IBM C/Set compiler
  2.  
  3. all: samp2.EXE
  4. samp2: samp2.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. samp2.EXE:    samp2.OBJ samp2.RES samp2.DEF mclb.obj
  17.   link386 /DEBUG /NOE /ALIGN:16 /EXEPACK /M /BASE:0x10000 samp2.OBJ mclb.obj,,,,samp2.DEF;
  18.   rc samp2.RES
  19.  
  20. samp2.OBJ:     samp2.C DIALOG.H
  21.   icc $(iccflags) samp2.C
  22.  
  23. mclb.obj:      $(mclbdir)\mclb.c $(mclbdir)\mclb.h
  24.   icc $(iccflags) $(mclbdir)\mclb.c
  25.  
  26. samp2.RES:    DIALOG.DLG DIALOG.H samp2.RC
  27.   rc -r samp2.RC samp2.RES
  28.