home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / emacs / sources / 808 / Makefile < prev    next >
Encoding:
Makefile  |  1992-11-18  |  1.2 KB  |  62 lines

  1. ##
  2. ## Makefile for ebuttons.
  3. ##
  4. ## There are at most 4 things you may want to do to this Makefile.
  5. ##
  6. ##     1) Change the MAX_BUTTONS value
  7. ##     2) and 4) Make a change if you have the 3D Athena widget set.
  8. ##     3) add a path to your X library.
  9. ##
  10. ## The locations where you can do this are marked with the above numbers
  11. ## in what follows.
  12. ##
  13. ## I am imake illiterate, sorry.
  14. ##
  15. ## Terry Jones (terry@santafe.edu), November 18, 1992.
  16. ## Santa Fe Institute
  17. ##
  18.  
  19. #
  20. # 1) The maximum number of buttons.
  21. #
  22. MAX_BUTTONS = 50
  23.  
  24.  
  25. #
  26. # 2) Change the LIBS line according to whether or not you
  27. #    have the 3d Athena widgets installed. If in doubt, just use
  28. #    the first line (with -lXaw).
  29. #
  30. # 3) Add a -L/path/to/your/X/libs if your X libraries are installed
  31. #    somewhere non-standard.
  32. #
  33. LIBS= -lXaw -lXmu -lXt -lX11
  34. # LIBS= -lXaw3d -lXmu -lXt -lX11
  35.  
  36.  
  37. #
  38. # 4) Add -DHAVE_XAW3D if you have the 3d Athena widgets.
  39. #
  40. CFLAGS = -O -DMAX_BUTTONS=$(MAX_BUTTONS)
  41.  
  42.  
  43. ## Nothing below here should change.
  44.  
  45. all: ebuttons ebuttons.cat
  46.  
  47. ebuttons: buttons ebuttons.o 
  48.     $(CC) $(CFLAGS) -o $@ ebuttons.o $(LIBS)
  49.  
  50. buttons:
  51.     ./make_ebuttons $(MAX_BUTTONS)
  52.  
  53. ebuttons.cat: ebuttons.1
  54.     nroff -man ebuttons.1 > ebuttons.cat
  55. clean:
  56.     -rm -f *.o
  57.  
  58. clobber: clean
  59.     -rm -f ebuttons ebuttons.h
  60.  
  61.  
  62.