home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume5 / xldimage / part01 / Makefile.gcc < prev    next >
Encoding:
Makefile  |  1989-11-13  |  613 b   |  23 lines

  1. # Makefile for xloadimage using GNU C compiler
  2. #
  3. # Copyright 1989 Jim Frost
  4. #
  5. # See file "copyright.h" for complete copyright information.
  6.  
  7. CC= gcc
  8. CFLAGS= -O -fstrength-reduce -finline-functions -DSYSPATHFILE=\"/usr/lib/xloadimagerc\"
  9.  
  10. LIBS= -lX11
  11. OBJS= bright.o clip.o compress.o dither.o faces.o fill.o imagetypes.o \
  12.       merge.o misc.o new.o options.o path.o pbm.o reduce.o root.o send.o \
  13.       sunraster.o value.o window.o xbitmap.o xloadimage.o zio.o zoom.o
  14.  
  15. xloadimage: $(OBJS)
  16.     $(CC) $(CFLAGS) -o xloadimage $(OBJS) $(LIBS)
  17.  
  18. clean:
  19.     rm -f *.o *~ xloadimage
  20.  
  21. .c.o: xloadimage.h
  22.     $(CC) -c $(CFLAGS) $*.c
  23.