home *** CD-ROM | disk | FTP | other *** search
/ Education Sampler 1992 [NeXTSTEP] / Education_1992_Sampler.iso / Programming / Source / HippoDraw / hippo / make.ultrix < prev    next >
Encoding:
Text File  |  1992-04-28  |  697 b   |  36 lines

  1. #
  2. # define macros which work on Sun4
  3.  
  4. LIB_LIST = hippoX11
  5. DEBUGLIB_LIST = hippoX11.debug
  6. UTIL_LIB=hippoX11
  7.  
  8. # f77 does not seem to be common on Ultrix machines
  9. FBINDINGS = 
  10.  
  11. # directory in which libraries are built (define it here if different
  12. #  architecture means different directory), eg.
  13. #LIB_DIR = /u/eb/rensing/lib/ultrix
  14.  
  15. _CFLAGS = 
  16. CFLAGS = -O $(_CFLAGS)
  17. CFLAGS_DEB = -g -DDEBUG $(_CFLAGS)
  18. CFLAGS_PROF = -pg -DPROFILE $(_CFLAGS)
  19. LDFLAGS = -L$(LIB_DIR) -l$(UTIL_LIB) -lm
  20.  
  21. # LIBS for making hb2hippo...
  22. # hippo is picked up from LDFLAGS
  23. HB2HADD = -lpacklib 
  24.  
  25. MAKECOM = $(MAKE) -$(MAKEFLAGS)
  26.  
  27.  
  28. # Rules
  29. RANLIB  = ranlib
  30.  
  31. .f.a :
  32.     $(FC) $(FFLAGS) -c $<
  33.     $(AR) $(ARFLAGS) $@ $*.o
  34.     $(RM) -f $*.o
  35.  
  36.