🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
1.9 KiB

  1. #
  2. # FreeType 2 Borland C++-specific rules
  3. #
  4. # Copyright (C) 1996-2021 by
  5. # David Turner, Robert Wilhelm, and Werner Lemberg.
  6. #
  7. # This file is part of the FreeType project, and may only be used, modified,
  8. # and distributed under the terms of the FreeType project license,
  9. # LICENSE.TXT. By continuing to use, modify, or distribute this file you
  10. # indicate that you have read the license and understand and accept it
  11. # fully.
  12. # Compiler command line name
  13. #
  14. CC := bcc32
  15. COMPILER_SEP := $(SEP)
  16. # The object file extension (for standard and static libraries). This can be
  17. # .o, .tco, .obj, etc., depending on the platform.
  18. #
  19. O := obj
  20. SO := obj
  21. # The library file extension (for standard and static libraries). This can
  22. # be .a, .lib, etc., depending on the platform.
  23. #
  24. A := lib
  25. SA := lib
  26. # Path inclusion flag. Some compilers use a different flag than `-I' to
  27. # specify an additional include path. Examples are `/i=' or `-J'.
  28. #
  29. I := -I
  30. # C flag used to define a macro before the compilation of a given source
  31. # object. Usually it is `-D' like in `-DDEBUG'.
  32. #
  33. D := -D
  34. # The link flag used to specify a given library file on link. Note that
  35. # this is only used to compile the demo programs, not the library itself.
  36. #
  37. L :=
  38. # Target flag -- no trailing space.
  39. #
  40. T := -o
  41. TE := -e
  42. # C flags
  43. #
  44. # These should concern: debug output, optimization & warnings.
  45. #
  46. # Use the ANSIFLAGS variable to define the compiler flags used to enforce
  47. # ANSI compliance.
  48. #
  49. CFLAGS ?= -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus
  50. # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
  51. #
  52. ANSIFLAGS ?= -A
  53. # Library linking
  54. #
  55. CLEAN_LIBRARY ?= $(DELETE) $(subst /,$(SEP),$(PROJECT_LIBRARY))
  56. LINK_LIBRARY = tlib /u /P128 $(subst /,$(COMPILER_SEP),$@ $(OBJECTS_LIST:%=+%))
  57. # Borland C++ specific temporary files
  58. #
  59. CLEAN += \
  60. $(subst /,$(SEP),$(TOP_DIR)/apinames.$(O)) \
  61. $(subst /,$(SEP),$(OBJ_DIR)/apinames.tds)
  62. # EOF