home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / m / master12.zip / mastering / Makefile < prev    next >
Makefile  |  1992-09-11  |  2KB  |  126 lines

  1. ##############################################################################
  2. #
  3. #                     Makefile for the example programs.
  4. #
  5. ##############################################################################
  6. #  N O T E :
  7. #
  8. #  This Makefile is for HP 9000 Series 300 workstations running HP-UX 7.0
  9. #  or later.  You will likely have to modify some of the parameters in 
  10. #  this file to compile this program on another platform.  All of the
  11. #  programs contained here were created using Motif 1.1
  12. #
  13. ##############################################################################
  14.  
  15. # This variable contains the flags passed to cc.
  16.  
  17. CFLAGS = -Wc,-Nd4000 -Wc,-Ns4000 -Wc,-Nt50000 -DSYSV -D_NO_PROTO
  18.  
  19. # This variable points to the directory containing the X and Motif libraries.
  20.  
  21. LIBDIR = /usr
  22.  
  23. # This variable lists the subdirectories to search for include files.
  24.  
  25. INCLUDES = -I$(LIBDIR)/include/Motif1.2\
  26.     -I$(LIBDIR)/include/X11R5
  27.  
  28. # This variable lists the required libraries.
  29.  
  30. LIBS =     $(LIBDIR)/lib/Motif1.2/libXm.a\
  31.     $(LIBDIR)/lib/X11R5/libXt.a\
  32.     $(LIBDIR)/lib/X11R5/libX11.a\
  33.     -lPW\
  34.     -lm
  35.  
  36. .c:
  37.     cc $(CFLAGS) $(INCLUDES) -o $@ $< $(LIBS)
  38.  
  39. .c.o: 
  40.     cc $(INCLUDES) -c $(CFLAGS) $<
  41.  
  42.  
  43. all:    arrowbtns \
  44.         bbdemo \
  45.         buttondnd\
  46.         command \
  47.         compstr \
  48.         csbutton \
  49.         customtile \
  50.         defaultscolors \
  51.         diskuse \
  52.         drawacts \
  53.         drawnbtns \
  54.         filetimes \
  55.         filselbox\
  56.         fonts \
  57.         formbtn \
  58.         formdemo \
  59.         framedemo\
  60.         frametest \
  61.         getdlog \
  62.         lab00 \
  63.         lab00a \
  64.         listdemo \
  65.         multiline \
  66.         panedw \
  67.         pathtest \
  68.         pushbtns \
  69.         rcdemo \
  70.         scalecolors \
  71.         scaledemo \
  72.         scrolledtext \
  73.         septest \
  74.         setcolors \
  75.         sheldraw \
  76.         swindemo \
  77.         textdemo \
  78.         textfield \
  79.         tiling \
  80.         toggles \
  81.         xmbutton \
  82.         xmeditor \
  83.         xmfonts 
  84.  
  85. clean:
  86.         rm -f\
  87.         arrowbtns \
  88.         bbdemo \
  89.         command \
  90.         compstr \
  91.         csbutton \
  92.         customtile \
  93.         defaultscolors \
  94.         diskuse \
  95.         drawacts \
  96.         drawnbtns \
  97.         filetimes \
  98.         fonts \
  99.         formbtn \
  100.         formdemo \
  101.         frametest \
  102.         getdlog \
  103.         lab00 \
  104.         lab00a \
  105.         listdemo \
  106.         multiline \
  107.         panedw \
  108.         pathtest \
  109.         pushbtns \
  110.         rcdemo \
  111.         scalecolors \
  112.         scaledemo \
  113.         scrolledtext \
  114.         septest \
  115.         setcolors \
  116.         sheldraw \
  117.         swindemo \
  118.         textdemo \
  119.         textfield \
  120.         tiling \
  121.         toggles \
  122.         xmbutton \
  123.         xmeditor \
  124.         xmfonts 
  125.  
  126.