You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
1.8KB

  1. #
  2. # "$Id: makefile.wat 7563 2010-04-28 03:15:47Z greg.ercolano $"
  3. #
  4. # PNG library makefile for the Fast Light Toolkit (FLTK).
  5. #
  6. # Copyright 1997-2004 by Easy Software Products.
  7. #
  8. # This library is free software; you can redistribute it and/or
  9. # modify it under the terms of the GNU Library General Public
  10. # License as published by the Free Software Foundation; either
  11. # version 2 of the License, or (at your option) any later version.
  12. #
  13. # This library is distributed in the hope that it will be useful,
  14. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. # Library General Public License for more details.
  17. #
  18. # You should have received a copy of the GNU Library General Public
  19. # License along with this library; if not, write to the Free Software
  20. # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
  21. # USA.
  22. #
  23. # Please report all bugs and problems on the following page:
  24. #
  25. # http://www.fltk.org/str.php
  26. #
  27. LIBNAMEROOT=ftlk_png
  28. # I ought to be able to do "EXTRA_INCLUDE_DIRS += ;../zlib" but it doesn't work for me (OW1.3)
  29. !undef EXTRA_INCLUDE_DIRS
  30. EXTRA_INCLUDE_DIRS=$(ROOT);../zlib
  31. !include ../watcom.mif
  32. #
  33. # Object files...
  34. #
  35. LIBOBJS = png.obj pngset.obj pngget.obj pngrutil.obj pngtrans.obj pngwutil.obj &
  36. pngread.obj pngrio.obj pngwio.obj pngwrite.obj pngrtran.obj &
  37. pngwtran.obj pngmem.obj pngerror.obj pngpread.obj
  38. #
  39. # Make all targets...
  40. #
  41. all: $(LIBNAME)
  42. $(LIBNAME): $(LIBOBJS)
  43. $(LIB) $(LIBOPTS) $@ $<
  44. #
  45. # Clean all directories
  46. #
  47. clean : .SYMBOLIC
  48. @echo Cleaning up.
  49. CLEANEXTS = obj
  50. @for %a in ($(CLEANEXTS)) do -rm -f $(ODIR)\*.%a
  51. -rm -f *.err
  52. -rm -f $(LIBNAME)
  53. #
  54. # End of "$Id: makefile.wat 7563 2010-04-28 03:15:47Z greg.ercolano $".
  55. #