home *** CD-ROM | disk | FTP | other *** search
/ gondwana.ecr.mu.oz.au/pub/ / Graphics.tar / Graphics / fermiVogle.tar.Z / fermiVogle.tar / devel / hershey / src / makefile.dj < prev    next >
Makefile  |  1996-02-07  |  2KB  |  110 lines

  1. #
  2. # Makes the hershey library.
  3. # Makes the binary Hershey font file for VOGL
  4. #
  5. FONTLIB=c:\lib\hershey
  6. CC = gcc
  7. CFLAGS = -I../../src -O -DPC
  8.  
  9. OURLIBS = ../../src/libvogle.a
  10. LIBS = -lgrx -lm
  11. RANLIB = ranlib
  12. #
  13. # On a real SGI ...
  14. #
  15. #OURLIBS = libhershey.a
  16. #LIBS = -lgl
  17. #RANLIB = echo
  18.  
  19. .SUFFIXES: .o .c .cc .s
  20. .c.o:
  21.     $(CC) $(CFLAGS) -c $*.c
  22.  
  23. SHELL = 4dos
  24.  
  25. # .IGNORE:
  26.  
  27. HDR = h2v.h
  28.  
  29.  
  30. all:    h2v hdisp fdisp fonts
  31.  
  32. h2v:    h2v.o getchar.o
  33.     $(CC) $(CFLAGS) -o $@ $@.o getchar.o
  34.  
  35. hdisp:    hdisp.o getchar.o ../../src/libvogle.a
  36.     $(CC) -o $@ $@.o getchar.o $(OURLIBS) $(LIBS)
  37.     aout2exe hdisp
  38.  
  39. fdisp:    fdisp.o ../../src/libvogle.a
  40.     $(CC) -o $@ $@.o $(OURLIBS) $(LIBS)
  41.     aout2exe fdisp
  42.  
  43. fonts:    h2v
  44.     go32 h2v ../data/hersh.oc
  45.     go32 h2v ../data/hersh.or ../fonts/japan.hmp japanese
  46.     md $(FONTLIB)
  47.     copy astrolog $(FONTLIB)
  48.     copy cursive $(FONTLIB)
  49.     copy cyrillic $(FONTLIB)
  50.     copy futura.l $(FONTLIB)
  51.     copy futura.m $(FONTLIB)
  52.     copy gothic.eng $(FONTLIB)
  53.     copy gothic.ger $(FONTLIB)
  54.     copy gothic.ita $(FONTLIB)
  55.     copy greek $(FONTLIB)
  56.     copy markers $(FONTLIB)
  57.     copy math.low $(FONTLIB)
  58.     copy math.upp $(FONTLIB)
  59.     copy meteorol $(FONTLIB)
  60.     copy music $(FONTLIB)
  61.     copy script $(FONTLIB)
  62.     copy symbolic $(FONTLIB)
  63.     copy times.g $(FONTLIB)
  64.     copy times.i $(FONTLIB)
  65.     copy times.ib $(FONTLIB)
  66.     copy times.r $(FONTLIB)
  67.     copy times.rb $(FONTLIB)
  68.     copy japanese $(FONTLIB)
  69.     del astrolog
  70.     del cursive
  71.     del cyrillic
  72.     del futura.l
  73.     del futura.m
  74.     del gothic.eng
  75.     del gothic.ger
  76.     del gothic.ita
  77.     del greek
  78.     del markers
  79.     del math.low
  80.     del math.upp
  81.     del meteorol
  82.     del music
  83.     del script
  84.     del symbolic
  85.     del times.g
  86.     del times.i
  87.     del times.ib
  88.     del times.r
  89.     del times.rb
  90.     del japanese
  91.     touch fonts
  92.  
  93. h2v: h2v.h
  94.  
  95. clean:
  96.     rm -f astrology cursive cyrillic futura.l futura.m gothic.eng
  97.     rm -f gothic.ger gothic.ita greek japanese markers math.low
  98.     rm -f math.upp meteorology music script symbolic times.g
  99.     rm -f times.i times.ib times.r times.rb *.o core fonts libhershey.a
  100.  
  101. clobber:
  102.     rm -f astrology cursive cyrillic futura.l futura.m gothic.eng
  103.     rm -f gothic.ger gothic.ita greek japanese markers math.low
  104.     rm -f math.upp meteorology music script symbolic times.g
  105.     rm -f times.i times.ib times.r times.rb *.o core h2v hdisp fdisp fonts
  106.     rm -f libhershey.a
  107.     rm -f fonts
  108.  
  109. install:
  110.