home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / netpbma.zip / Imakefile < prev    next >
Makefile  |  1993-12-13  |  2KB  |  66 lines

  1. /* Imakefile for pbmplus tools.
  2.  *
  3.  * Copyright (C) 1991 by Rainer Klute.
  4.  *
  5.  * Permission to use, copy, modify, and distribute this software and its
  6.  * documentation for any purpose and without fee is hereby granted, provided
  7.  * that the above copyright notice appear in all copies and that both that
  8.  * copyright notice and this permission notice appear in supporting
  9.  * documentation.  This software is provided "as is" without express or
  10.  * implied warranty.
  11.  */
  12.  
  13. #include <Pbmplus.tmpl>
  14.  
  15. #define IHaveSubdirs
  16. #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
  17.  
  18. #if BuildLibTiff
  19. SUBDIRS = TiffDir PbmDir PgmDir PpmDir PnmDir
  20. #else
  21. SUBDIRS = PbmDir PgmDir PpmDir PnmDir
  22. #endif
  23.  
  24. all::
  25.       stamp-date
  26.  
  27. MakeSubdirs($(SUBDIRS))
  28. DependSubdirs($(SUBDIRS))
  29.  
  30. World::
  31.         @echo ""
  32.         @echo "Building PBMPLUS"
  33.         @echo ""
  34.         @date
  35.         @echo ""
  36.     $(MAKE) $(MFLAGS) Makefiles
  37.         $(MAKE) $(MFLAGS) clean
  38.         $(MAKE) $(MFLAGS) includes
  39.         $(MAKE) $(MFLAGS) depend
  40.         $(MAKE) $(MFLAGS)
  41.         @echo ""
  42.         @date
  43.         @echo ""
  44.         @echo "Full build of PBMPLUS complete."
  45.         @echo ""
  46.  
  47. Everything::
  48.         @echo ""
  49.         @echo "Rebuilding PBMPLUS"
  50.         @echo ""
  51.         @date
  52.         @echo ""
  53.         $(MAKE) $(MFLAGS) Makefiles
  54.         $(MAKE) $(MFLAGS) includes
  55.         $(MAKE) $(MFLAGS) depend
  56.         $(MAKE) $(MFLAGS)
  57.         @echo ""
  58.         @date
  59.         @echo ""
  60.         @echo "Rebuild of PBMPLUS complete."
  61.         @echo ""
  62.  
  63. #if InstallIncludes
  64. InstallMultipleFlags(pbmplus.h,$(PBMPLUSDIR)$(PBMPLUSINCDIR),$(INSTINCFLAGS))
  65. #endif
  66.