home *** CD-ROM | disk | FTP | other *** search
/ MPEG Toolkit / MPEG Toolkit.iso / os2 / mpegenc / src / pbmplus / pbm / makefile.os2 < prev    next >
Encoding:
Makefile  |  1997-01-01  |  1.3 KB  |  45 lines

  1. # Makefile for pbm tools for 32 bit OS/2.
  2. #
  3. # Copyright (C) 1989, 1991 by Jef Poskanzer.
  4. # Modified for 32 bit OS/2 by Andy Key
  5. #
  6. # Permission to use, copy, modify, and distribute this software and its
  7. # documentation for any purpose and without fee is hereby granted, provided
  8. # that the above copyright notice appear in all copies and that both that
  9. # copyright notice and this permission notice appear in supporting
  10. # documentation.  This software is provided "as is" without express or
  11. # implied warranty.
  12.  
  13. # Default values, usually overridden by top-level Makefile.
  14.  
  15. INCL =        /I..
  16. ALLCFLAGS =    $(CFLAGS) $(INCL)
  17. LIBPBM =    pbm.lib
  18. DEFPBM =    pbm.h ../pbmplus.h
  19.  
  20. lib:        $(LIBPBM)
  21.  
  22. $(LIBPBM):    libpbm1.obj libpbm2.obj libpbm3.obj libpbm4.obj libpbm5.obj
  23.         -del $(LIBPBM)
  24.         lib /NOLOGO $(LIBPBM) \
  25.             +libpbm1.obj +libpbm2.obj +libpbm3.obj \
  26.             +libpbm4.obj +libpbm5.obj;
  27.  
  28. libpbm1.obj:    $(DEFPBM) ../version.h libpbm.h libpbm1.c
  29.         $(CC) $(ALLCFLAGS) /C+ libpbm1.c
  30.  
  31. libpbm2.obj:    $(DEFPBM) libpbm.h libpbm2.c
  32.         $(CC) $(ALLCFLAGS) /C+ libpbm2.c
  33.  
  34. libpbm3.obj:    $(DEFPBM) libpbm.h libpbm3.c
  35.         $(CC) $(ALLCFLAGS) /C+ libpbm3.c
  36.  
  37. libpbm4.obj:    $(DEFPBM) libpbm.h libpbm4.c
  38.         $(CC) $(ALLCFLAGS) /C+ libpbm4.c
  39.  
  40. libpbm5.obj:    $(DEFPBM) pbmfont.h libpbm5.c
  41.         $(CC) $(ALLCFLAGS) /C+ libpbm5.c
  42.  
  43. clean:
  44.         -del *.obj *.lib
  45.