home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume11 / quadtree / part01 / Makefile next >
Encoding:
Makefile  |  1990-04-03  |  825 b   |  35 lines

  1. DESTDIR = /afs/andrew.cmu.edu/usr12/bobg
  2. BINDIR = bin
  3.  
  4. INSTALL = install
  5.  
  6. INSTFLAGS = -c -o bobg -s
  7.  
  8. all: ras2qt xqtdisp
  9.  
  10. install: all
  11.     $(INSTALL) $(INSTFLAGS) ras2qt $(DESTDIR)/$(BINDIR)
  12.     $(INSTALL) $(INSTFLAGS) xqtdisp $(DESTDIR)/$(BINDIR)
  13.  
  14. ras2qt: ras2qt.o quadtree.o
  15.     cc -o ras2qt ras2qt.o quadtree.o
  16.  
  17. ras2qt.o: ras2qt.c quadtree.h
  18.     cc -O -I. -c ras2qt.c
  19.  
  20. quadtree.o: quadtree.c quadtree.h
  21.     cc -O -I. -c quadtree.c
  22.  
  23. xqtdisp.o: xqtdisp.c quadtree.h
  24.     cc -O -I. -c xqtdisp.o xqtdisp.c
  25.  
  26. xqtdisp: xqtdisp.o quadtree.o
  27.     cc -o xqtdisp xqtdisp.o quadtree.o -lX11
  28.  
  29. clean:
  30.     -rm -f xqtdisp ras2qt *.o *.BAK *.CKP *~ a.out mon.out gmon.out core quadtree.shar
  31.  
  32. quadtree.shar: README Makefile quadtree.c quadtree.h ras2qt.c xqtdisp.c
  33.     -rm -f quadtree.shar
  34.     shar README Makefile quadtree.c quadtree.h ras2qt.c xqtdisp.c > quadtree.shar
  35.