mgh: fix for default HDD DMA mode, that wasn't correctly set
[open-ps2-loader.git] / thirdparty / freetype-2.3.12 / builds / compiler / gcc-dev.mk
blobc63e1262ebe8ad2ecbb67c888a7dcd5209234bf4
2 # FreeType 2 gcc-specific with NO OPTIMIZATIONS + DEBUGGING
6 # Copyright 1996-2000, 2003, 2004, 2005, 2006 by
7 # David Turner, Robert Wilhelm, and Werner Lemberg.
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.
16 # Compiler command line name
18 CC := gcc
19 COMPILER_SEP := /
22 # The object file extension (for standard and static libraries). This can be
23 # .o, .tco, .obj, etc., depending on the platform.
25 O := o
26 SO := o
28 # The library file extension (for standard and static libraries). This can
29 # be .a, .lib, etc., depending on the platform.
31 A := a
32 SA := a
35 # Path inclusion flag. Some compilers use a different flag than `-I' to
36 # specify an additional include path. Examples are `/i=' or `-J'.
38 I := -I
41 # C flag used to define a macro before the compilation of a given source
42 # object. Usually it is `-D' like in `-DDEBUG'.
44 D := -D
47 # The link flag used to specify a given library file on link. Note that
48 # this is only used to compile the demo programs, not the library itself.
50 L := -l
53 # Target flag.
55 T := -o$(space)
58 # C flags
60 # These should concern: debug output, optimization & warnings.
62 # Use the ANSIFLAGS variable to define the compiler flags used to enfore
63 # ANSI compliance.
65 ifndef CFLAGS
66 ifeq ($(findstring g++,$(CC)),)
67 nested_externs := -Wnested-externs
68 strict_prototypes := -Wstrict-prototypes
69 endif
71 CFLAGS := -c -g -O0 \
72 -Wall \
73 -W \
74 -Wundef \
75 -Wshadow \
76 -Wpointer-arith \
77 -Wwrite-strings \
78 -Wredundant-decls \
79 -Wno-long-long \
80 $(nested_externs) \
81 $(strict_prototypes)
82 endif
84 # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
86 ANSIFLAGS := -ansi -pedantic
89 # Library linking
91 CLEAN_LIBRARY ?= $(DELETE) $(subst /,$(SEP),$(PROJECT_LIBRARY))
92 LINK_LIBRARY = $(AR) -r $@ $(OBJECTS_LIST)
95 # EOF