home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / GRAPHICS / MISC / EEDPR23S.ZIP / MAKEFILE.UNX < prev    next >
Encoding:
Text File  |  1990-09-03  |  1.8 KB  |  59 lines

  1. #
  2. # This is the make file for the eed printer drivers.
  3. # In order to run it gcc is assumed to be available.
  4. #
  5. #                Gershon Elber, Jun 1989
  6. #
  7.  
  8. #
  9. # Set the includes and libs directories to the right place. Libraries
  10. # used in this program:
  11. # 1. libgif.a - gif interface library routines.
  12. #
  13. INCS = -I. -I/n/crocus/u/gershon/sm/gif_lib/lib
  14. LIBS = /n/crocus/u/gershon/sm/gif_lib/lib/libgif.a
  15.  
  16. # Your C compiler (BSD 4.3)
  17. # CC = gcc
  18. # CFLAGS = -O -c -W -Wreturn-type -Wcomment
  19. # CFLAGS = -g -pg -c -W -Wreturn-type -Wcomment
  20. # MORELIBS =
  21.  
  22. # Your C compiler (cc on SGI4D Irix 3.2)
  23. CC = cc
  24. # CFLAGS = -O -Olimit 1000 -Wf,-XNh5000 -Wf,-XNd5000 -G 4
  25. CFLAGS = -g -p -Olimit 1000 -Wf,-XNh5000 -Wf,-XNd5000 -G 4
  26. MORELIBS = -lbsd
  27.  
  28. CommonOBJS = config.o eelibs1.o eelibs2.o eeload.o eeredraw.o eestring.o \
  29.     priorque.o
  30.  
  31. EpsonOBJS = eedepson.o igraphep.o virtrstr.o
  32.  
  33. PSOBJS = eed-ps.o igraphps.o
  34.  
  35. .c.o:
  36.     $(CC) $(CFLAGS) $(INCS) -c $<
  37.  
  38. all:    eed-ps eedepson
  39.  
  40. eedepson: $(CommonOBJS) $(EpsonOBJS)
  41.     cc -o eedepson $(CommonOBJS) $(EpsonOBJS) $(LIBS) $(MORELIBS) -lm
  42.  
  43. eed-ps: $(CommonOBJS) $(PSOBJS)
  44.     cc -o eed-ps $(CommonOBJS) $(PSOBJS) $(MORELIBS) -lm
  45.  
  46.  
  47. config.o:    program.h config.h
  48. eedepson.o:    program.h config.h igraph.h eelibs.h eeredraw.h eeload.h
  49. eed-ps.o:    program.h config.h igraph.h eelibs.h eeredraw.h eeload.h
  50. eelibs1.o:    program.h priorque.h eelibs.h eelibsl.h eeredraw.h igraph.h
  51. eelibs2.o:    program.h priorque.h eelibs.h eelibsl.h eeredraw.h eestring.h igraph.h
  52. eeload.o:    program.h eelibs.h eeredraw.h eeload.h virtrstr.h
  53. eeredraw.o:    program.h igraph.h eeredraw.h eestring.h
  54. eestring.o:    program.h igraph.h eestring.h
  55. igraphep.o:    virtrstr.h program.h igraph.h
  56. igraphps.o:    program.h igraph.h
  57. priorque.o:    program.h priorque.h
  58. virtrstr.o:    virtrstr.h
  59.