home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / x / xhyper10.zip / XHyper_v1.0 / src / Makefile < prev    next >
Makefile  |  1992-12-08  |  806b  |  53 lines

  1. CC     = CC
  2. LIBDIR = /../../iv/src/lib/IV/SGI
  3. INCDIR = \
  4.     /../../iv/installed/include
  5.  
  6. CFLAGS = -g +p   -Dcplusplus_2_0  -DSYSV -Dsigned= -Dvolatile= \
  7.     -I$(INCDIR) \
  8.     -Idocsup \
  9.     -float -cckr
  10.  
  11. #
  12. #  Required Libraries.
  13. #
  14. LIBS   = -L$(LIBDIR) \
  15.     ./docsup.a \
  16.     -lUnidraw \
  17.     -lIV \
  18.         /usr/lib/libmalloc.a \
  19.         -lXm_s -lXt_s -lXmu -lXext -lX11_s -lPW -lm -lc_s
  20. #        -lXm_s -lXt_s -lXmu -lXext -lX11_s -lPW -lm_s -lc_s
  21.  
  22.  
  23.  
  24. OBJLIB =
  25.   
  26. DOC_SRC = \
  27.     docsup/Figure.c \
  28.     docsup/IdrawImage.c \
  29.     docsup/PageBorder.c
  30.  
  31. #
  32. #  Object files.
  33. #
  34. OFILES = \
  35.         main.o \
  36.         HyperView.o \
  37.         Tag.o \
  38.         TextView.o \
  39.         Command.o \
  40.         PSFigItem.o \
  41.         PageButton.o \
  42.         printer.o 
  43.  
  44. #
  45. #  Commands.
  46. #
  47. XHyper:        docsup.a $(OFILES)
  48.         $(CC) $(CFLAGS) $(OFILES) -o $@ $(OBJLIB) $(LIBS)
  49.  
  50. docsup.a:    $(DOC_SRC)
  51.         cd docsup; $(MAKE)
  52.  
  53.