home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / grafik / pmod01 / source / makefile.wat < prev    next >
Encoding:
Makefile  |  1994-03-10  |  1.4 KB  |  53 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 Watcom C/C++^32 and DOS4GW
  8. #
  9. # $Id: makefile.wat 1.1 1994/03/10 09:06:58 kjb Exp $
  10. #
  11. #############################################################################
  12.  
  13. CC              = wcl386            # Name of C compiler
  14.  
  15. !if $d(debug)
  16. CC_DOPT         = -d2               # Turn on debugging for C compiler
  17. !endif
  18.  
  19. CC_FLAGS        = -l=dos4g -zq -DDOS4GW $(CC_DOPT)
  20.  
  21. # Implicit rules to make the object files for the library...
  22.  
  23. .c.obj:
  24.     $(CC) $(CC_FLAGS) -c {$< }
  25.  
  26. # Object files required by the library
  27.  
  28. all: memtest.exe biosptr.exe video.exe isvesa.exe alias.exe
  29.  
  30. memtest.exe: pmode.obj memtest.obj
  31.     $(CC) $(CC_FLAGS) memtest.obj pmode.obj
  32.  
  33. biosptr.exe: pmode.obj biosptr.obj
  34.     $(CC) $(CC_FLAGS) biosptr.obj pmode.obj
  35.  
  36. video.exe: pmode.obj video.obj
  37.     $(CC) $(CC_FLAGS) video.obj pmode.obj
  38.  
  39. isvesa.exe: pmode.obj isvesa.obj
  40.     $(CC) $(CC_FLAGS) isvesa.obj pmode.obj
  41.  
  42. alias.exe: pmode.obj alias.obj
  43.     $(CC) $(CC_FLAGS) alias.obj pmode.obj
  44.  
  45. # Clean up directory removing all files not needed to make the library
  46.  
  47. clean:
  48.     @del *.obj
  49.  
  50. realclean:  clean
  51.     @del *.exe
  52.  
  53.