home *** CD-ROM | disk | FTP | other *** search
/ ftp.ee.lbl.gov / 2014.05.ftp.ee.lbl.gov.tar / ftp.ee.lbl.gov / mrdebug.tar.Z / mrdebug.tar / Makefile < prev    next >
Makefile  |  1993-10-29  |  728b  |  29 lines

  1. # Make file to build M-Bone route debugger 
  2. # $(DEFS) refers to the compile time definitions
  3.  
  4. CC = gcc -g -Wall
  5.  
  6. HDRFILS = build_adj_proto.h data_struct_proto.h dist_vect_proto.h \
  7.       mrhash.h types.h user_proto.h
  8.  
  9. SRCFILS = build_adj.c data_struct.c dist_vect.c mrdebug.c mrhash.c user.c
  10.  
  11. OBJFILS = $(SRCFILS:.c=.o)
  12.  
  13. CFLAGS = -O
  14. LDFLAGS = 
  15.  
  16. tar:    mrdebug.tar.Z
  17.  
  18. mrdebug.tar.Z: Makefile $(SRCFILS) $(HDRFILS) mrdebug.man mrdebug
  19.     rm -f mrdebug.tar mrdebug.tar.Z
  20.     tar cfh mrdebug.tar README Makefile $(SRCFILS) $(HDRFILS) mrdebug.man \
  21.         mrdebug.ACM94.ps example mrdebug
  22.     compress mrdebug.tar
  23.  
  24. mrdebug: $(OBJFILS) $(HDRFILS)
  25.     $(CC) $(LDFLAGS) -o $@ $(OBJFILS) -lm
  26.  
  27. clean:
  28.     rm -f $(OBJFILS) core core.mrdebug mrdebug mrdebug.tar.Z
  29.