home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wxos2240.zip / wxWindows-2.4.0 / src / zlib / makefile.unx < prev    next >
Makefile  |  1999-01-10  |  562b  |  31 lines

  1. #
  2. # File:        makefile.unx
  3. # Author:    Julian Smart
  4. # Created:    1998
  5. # Updated:    
  6. # Copyright:    (c) 1998
  7. #
  8. #
  9. # Makefile for PNG library, Unix
  10.  
  11. include ../make.env
  12.  
  13. TARGETLIB=../../lib/libzlib.a
  14.  
  15. LIB_C_SRC = adler32.c compress.c crc32.c gzio.c uncompr.c deflate.c \
  16.   trees.c zutil.c inflate.c infblock.c inftrees.c infcodes.c \
  17.   infutil.c inffast.c 
  18.  
  19. all:    $(TARGETLIB)
  20.  
  21. # Define library objects
  22. OBJECTS=\
  23.  $(LIB_C_SRC:.c=.o)
  24.  
  25. $(TARGETLIB) : $(OBJECTS)
  26.     ar $(AROPTIONS) $@ $(OBJECTS)
  27.     $(RANLIB) $@
  28.  
  29. clean:
  30.     rm -f $(OBJECTS) $(TARGETLIB)
  31.