home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c082_144 / 8.ddi / TVHELP.ZIP / TVHC.MAK < prev    next >
Encoding:
Makefile  |  1992-06-10  |  780 b   |  51 lines

  1. #
  2. #   Borland C++ - (C) Copyright 1991, 1992 by Borland International
  3. #   Makefile for building Turbo Vision help compiler
  4. #
  5.  
  6. #
  7. # Configuration:
  8. #
  9. #   If you have Borland C++ and not Turbo C++, you must use a define on
  10. #   the make command line:
  11. #
  12. #       -DBC         indicates that you have Borland C++
  13. #
  14. #   Examples:
  15. #
  16. #       using Turbo C++:
  17. #
  18. #           make
  19. #
  20. #       using Borland C++:
  21. #
  22. #           make -DBC
  23. #
  24.  
  25. .autodepend
  26.  
  27. !if !$d(INCLUDE)
  28. INCLUDE=..\include;..\..\include
  29. !endif
  30.  
  31. !if !$d(LIB)
  32. LIB=..\lib;..\..\lib
  33. !endif
  34.  
  35. !if $d(BC)
  36. CC=bcc
  37. !else
  38. CC=tcc
  39. !endif
  40.  
  41. CFLAGS = -O1 -ml
  42.  
  43. OBJS = tvhc.obj
  44.  
  45. .cpp.obj:
  46.     $(CC) $(CFLAGS) -c -I$(INCLUDE) {$* }
  47.  
  48. tvhc.exe : $(OBJS)
  49.     $(CC) -M $(CFLAGS) -L$(LIB) $(OBJS) tv.lib
  50.  
  51.