• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# FreeType 2 Intel C/C++ definitions (VC++ compatibility mode)
3#
4
5
6# Copyright (C) 1996-2020 by
7# David Turner, Robert Wilhelm, and Werner Lemberg.
8#
9# This file is part of the FreeType project, and may only be used, modified,
10# and distributed under the terms of the FreeType project license,
11# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
12# indicate that you have read the license and understand and accept it
13# fully.
14
15
16# compiler command line name
17#
18CC           := icl
19COMPILER_SEP := $(SEP)
20
21
22# The object file extension (for standard and static libraries).  This can be
23# .o, .tco, .obj, etc., depending on the platform.
24#
25O  := obj
26SO := obj
27
28
29# The library file extension (for standard and static libraries).  This can
30# be .a, .lib, etc., depending on the platform.
31#
32A  := lib
33SA := lib
34
35
36# Path inclusion flag.  Some compilers use a different flag than `-I' to
37# specify an additional include path.  Examples are `/i=' or `-J'.
38#
39I := /I
40
41
42# C flag used to define a macro before the compilation of a given source
43# object.  Usually it is `-D' like in `-DDEBUG'.
44#
45D := /D
46
47
48# The link flag used to specify a given library file on link.  Note that
49# this is only used to compile the demo programs, not the library itself.
50#
51L := /Fl
52
53
54# Target flag.
55#
56T := /Fo
57TE := /Fe
58
59
60# C flags
61#
62#   These should concern: debug output, optimization & warnings.
63#
64#   Use the ANSIFLAGS variable to define the compiler flags used to enfore
65#   ANSI compliance.
66#
67#   Note that the Intel C/C++ compiler version 4.5 complains about
68#   the use of FT_FIELD_OFFSET with "value must be arithmetic type"!
69#   This really looks like a bug in the compiler because the macro
70#   _does_ compute an arithmetic value, so we disable this warning
71#   with "/Qwd32".
72#
73CFLAGS ?= /nologo /c /Ox /G5 /W3 /Qwd32
74
75# ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
76#
77ANSIFLAGS := /Qansi_alias /Za
78
79# Library linking
80#
81#CLEAN_LIBRARY =
82LINK_LIBRARY = lib /nologo /out:$(subst /,$(COMPILER_SEP),$@ $(OBJECTS_LIST))
83
84
85# EOF
86