home *** CD-ROM | disk | FTP | other *** search
/ swCHIP 1991 January / swCHIP_95-1.bin / utility / gsview13 / epstool / makefile.tc < prev    next >
Makefile  |  1995-12-09  |  2KB  |  69 lines

  1. # Copyright (C) 1993, 1994, Russell Lang.  All rights reserved.
  2. #  
  3. # This file is part of GSview.
  4. #  
  5. # This program is distributed with NO WARRANTY OF ANY KIND.  No author
  6. # or distributor accepts any responsibility for the consequences of using it,
  7. # or for whether it serves any particular purpose or works at all, unless he
  8. # or she says so in writing.  Refer to the GSview Free Public Licence 
  9. # (the "Licence") for full details.
  10. #  
  11. # Every copy of GSview must include a copy of the Licence, normally in a 
  12. # plain ASCII text file named LICENCE.  The Licence grants you the right 
  13. # to copy, modify and redistribute GSview, but only under certain conditions 
  14. # described in the Licence.  Among other things, the Licence requires that 
  15. # the copyright notice and this notice be preserved on all copies.
  16.  
  17. # makefile.tc
  18. # EPSTOOL
  19.  
  20. # Edit COMPBASE and WIN32 as required
  21. #COMPBASE = d:\bc4
  22. COMPBASE = g:\utility\bc4
  23. # WIN32=1 for Win32s version
  24. WIN32=0
  25.  
  26. # Shouldn't need editing below here
  27. COMPDIR = $(COMPBASE)\bin
  28. INCDIR = $(COMPBASE)\include
  29. LIBDIR = $(COMPBASE)\lib
  30. !if $(WIN32)
  31. WINEXT=32
  32. CC = bcc32
  33. CCAUX = bcc
  34. MODEL=32
  35. CFLAGS=-v -w -DMSDOS -DEPSTOOL -I$(INCDIR)
  36. !else
  37. WINEXT=
  38. CC = bcc
  39. CCAUX = bcc
  40. MODEL=l
  41. CFLAGS=-v -m$(MODEL) -h -w -DMSDOS -DEPSTOOL -I$(INCDIR)
  42. !endif
  43. OBJS=epstool.obj ps.obj gvceps.obj
  44.  
  45. all: epstool.exe
  46.  
  47. .c.obj:
  48.     $(COMPDIR)\$(CC) -c $(CFLAGS) {$< }
  49.  
  50.     
  51. epstool.exe: $(OBJS)
  52.     $(COMPDIR)\tlink /Tde /c /m /s /v /l @&&!
  53. $(LIBDIR)\c0$(MODEL) +
  54. $(OBJS) +
  55. ,epstool.exe,epstool, +
  56. $(LIBDIR)\math$(MODEL) +
  57. $(LIBDIR)\emu +
  58. $(LIBDIR)\c$(MODEL)
  59. !
  60.  
  61. epstool.obj: epstool.c epstool.h ../src/ps.h ../src/gvceps.c
  62.  
  63. ps.obj: ../src/ps.c epstool.h ../src/ps.h ../src/gvceps.c
  64.     $(COMPDIR)\$(CC) -c $(CFLAGS) {../src/$< }
  65.  
  66. gvceps.obj: ../src/gvceps.c epstool.h ../src/ps.h ../src/gvceps.c
  67.     $(COMPDIR)\$(CC) -c $(CFLAGS) {../src/$< }
  68.  
  69.