home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / PROGRAM / C / PSCM12 / SAMPLE.MAK < prev   
Text File  |  1990-12-03  |  796b  |  46 lines

  1. # Here is a sample make file showing the use of CHECKIN and CHECKOUT
  2.  
  3. ICFILES=    checkin.c filelist.c
  4.  
  5. IOFILES=    checkin.obj filelist.obj
  6.  
  7. OCFILES=    checkout.c filelist.c
  8.  
  9. OOFILES=    checkout.obj filelist.obj
  10.  
  11. LIBS=        item$(MMDL) block$(MMDL)
  12.  
  13. install:    CLEANUP PREP difs.exe mrgs.exe checkin.exe checkout.exe FINISH
  14.  
  15. CLEANUP:    
  16.         @if exist error del error
  17.         checkin -i pscm
  18.  
  19. PREP:        
  20.         checkout -m pscm *.c *.h
  21.  
  22. FINISH:        
  23.         checkout -e pscm *.c *.h
  24.  
  25. difs.exe:    difs.obj
  26.         link difs.obj;
  27.  
  28. mrgs.exe:    mrgs.obj
  29.         link mrgs.obj;
  30.  
  31. checkin.exe:    $(IOFILES)
  32.         link $(IOFILES),checkin.exe,,$(LIBS);
  33.  
  34. checkout.exe:    $(OOFILES)
  35.         link $(OOFILES),checkout.exe,,$(LIBS);
  36.  
  37. difs.obj:    mydefs.h
  38.  
  39. mrgs.obj:    mydefs.h
  40.  
  41. filelist.obj:    pscm.h
  42.  
  43. checkin.obj:    pscm.h
  44.  
  45. checkout.obj:    pscm.h
  46.