1 # 2 # FreeType 2 emx-specific definitions 3 # 4 5 6 # Copyright 2003-2018 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 # 18 CC := set GCCOPT="-ansi -pedantic"; gcc 19 COMPILER_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 # 25 O := o 26 SO := o 27 28 # The library file extension (for standard and static libraries). This can 29 # be .a, .lib, etc., depending on the platform. 30 # 31 A := a 32 SA := a 33 34 35 # Path inclusion flag. Some compilers use a different flag than `-I' to 36 # specify an additional include path. Examples are `/i=' or `-J'. 37 # 38 I := -I 39 40 41 # C flag used to define a macro before the compilation of a given source 42 # object. Usually it is `-D' like in `-DDEBUG'. 43 # 44 D := -D 45 46 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. 49 # 50 L := -l 51 52 53 # Target flag. 54 # 55 T := -o$(space) 56 57 # C flags 58 # 59 # These should concern: debug output, optimization & warnings. 60 # 61 # Use the ANSIFLAGS variable to define the compiler flags used to enfore 62 # ANSI compliance. 63 # 64 CFLAGS ?= -c -g -O6 -Wall 65 66 # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant. 67 # 68 ANSIFLAGS := 69 70 71 # Library linking 72 # 73 CLEAN_LIBRARY ?= $(DELETE) $(subst /,$(SEP),$(PROJECT_LIBRARY)) 74 LINK_LIBRARY = $(foreach m,$(OBJECTS_LIST),$(AR) -r $@ $(m);) echo > nul 75 76 77 # EOF 78