home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / grafik / mgl11 / mkdefs10 / common.def < prev    next >
Encoding:
Text File  |  1994-03-10  |  1.4 KB  |  51 lines

  1. #############################################################################
  2. #
  3. #                   Copyright (C) 1993 SciTech Software
  4. #                           All rights reserved.
  5. #
  6. # Descripton:   Common definitions used by all SciTech Software makefiles.
  7. #               This file includes definitions for cleaning the current
  8. #               directory, and maintaining the source files with RCS.
  9. #
  10. # $Id: common.def 1.1 1994/03/06 07:48:03 kjb Exp $
  11. #
  12. #############################################################################
  13.  
  14. # Explicit rule to build the pmode.obj file
  15.  
  16. pmode.obj: $(PMODE_DIR)\pmode.c
  17.     $(CC) $(CC_FLAGS) $(COMPILE_ONLY) $(PMODE_DIR)\pmode.c
  18.  
  19. # Clean up directory removing all files not needed to make the library
  20.  
  21. clean:
  22.     @del *.obj *.sym *.bak *.tdk *.swp
  23.     @del $(LIB_DEST)\*.bak
  24.  
  25. cleanexe:   clean
  26.     @del *.exe *.drv
  27.  
  28. realclean:  cleanexe
  29.     @del $(LIBFILE)
  30.  
  31. # RCS Maintenance routines. Assumes the existence of the 'files.lst' file
  32. # to determine the files to apply the RCS commands to, and that the
  33. # foreach.exe program is available on the path.
  34.  
  35. stamp:
  36.     @foreach "rcs -N$(VERSION): -srelease" files.lst
  37.  
  38. rcsclean:
  39.     @foreach rcsclean files.lst
  40.  
  41. # Check in the latest revisions of source files with RCS
  42.  
  43. ci:
  44.     @foreach "ci -q -u -mnone $(RCSOPT)" files.lst
  45.  
  46. # Check out the latest revisions of source files from RCS
  47.  
  48. co:
  49.     @foreach "co -q $(RCSOPT)" files.lst
  50.  
  51.