home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / grafik / pmod01 / source / makefile.sc < prev    next >
Encoding:
Makefile  |  1994-03-10  |  1.4 KB  |  51 lines

  1. #############################################################################
  2. #
  3. #                   Copyright (C) 1994 SciTech Software.
  4. #                           All rights reserved.
  5. #
  6. # Descripton:   Makefile for the PMODE library sample programs.
  7. #               MSDOS version for Symantec C++ 6.1 and DOSX
  8. #
  9. # $Id: makefile.sc 1.1 1994/03/10 09:06:55 kjb Exp $
  10. #
  11. #############################################################################
  12.  
  13. CC              = sc                # Name of C compiler
  14.  
  15. #CC_DOPT        = -g                # Turn on debugging for C compiler
  16.  
  17. CC_FLAGS        = -4 -NC -mx -DDOSX $(CC_DOPT)
  18.  
  19. # Implicit rules to make the object files for the library...
  20.  
  21. .c.obj:
  22.     $(CC) $(CC_FLAGS) -c $<
  23.  
  24. # Object files required by the library
  25.  
  26. all: memtest.exe biosptr.exe video.exe isvesa.exe alias.exe
  27.  
  28. memtest.exe: pmode.obj memtest.obj
  29.     $(CC) $(CC_FLAGS) memtest.obj pmode.obj
  30.  
  31. biosptr.exe: pmode.obj biosptr.obj
  32.     $(CC) $(CC_FLAGS) biosptr.obj pmode.obj
  33.  
  34. video.exe: pmode.obj video.obj
  35.     $(CC) $(CC_FLAGS) video.obj pmode.obj
  36.  
  37. isvesa.exe: pmode.obj isvesa.obj
  38.     $(CC) $(CC_FLAGS) isvesa.obj pmode.obj
  39.  
  40. alias.exe: pmode.obj alias.obj
  41.     $(CC) $(CC_FLAGS) alias.obj pmode.obj
  42.  
  43. # Clean up directory removing all files not needed to make the library
  44.  
  45. clean:
  46.     @del *.obj
  47.  
  48. realclean:  clean
  49.     @del *.exe
  50.  
  51.