home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume32 / xv_ping / part01 / Makefile < prev    next >
Makefile  |  1992-09-28  |  645b  |  44 lines

  1. #
  2. # Makefile for xv_ping version 1.0 
  3. #
  4. #
  5.  
  6. #These should point to where your X11 include files and libraries reside.
  7.  
  8. XVIEWINCLUDE= /udir/gnn/include
  9. X11LIB= /udir/gnn/lib
  10.  
  11. CFLAGS= -I$(XVIEWINCLUDE) -g
  12. LDFLAGS= -L$(X11LIB) 
  13. CC= cc
  14.  
  15. SRCS= xv_ping.c hping.c
  16.  
  17. OBJS= xv_ping.o hping.o
  18.  
  19. BINS= xv_ping
  20.  
  21. LIBS= -lxview -lolgx -lX11
  22.  
  23. DOCS= xv_ping.8
  24.  
  25. ICONS=xv_ping.icon up.icon down.icon
  26.  
  27. all: $(OBJS)
  28.     $(CC) -o xv_ping $(OBJS) $(LDFLAGS) $(LIBS)
  29.  
  30. .o: $(OBJS)
  31.  
  32. .c: $(SRCS)
  33.     $(CC) -c $< $(CFLAGS) 
  34.  
  35. tar:
  36.     tar cvf xv_ping.tar $(SRCS) $(DOCS) $(ICONS) Makefile README
  37.     compress xv_ping.tar
  38.  
  39. clean:
  40.     - rm *.o *~ *.BAK
  41.  
  42. realclean:
  43.     - rm *.o *~ *.BAK $(BINS) 
  44.