diff options
Diffstat (limited to 'builds/compiler/ansi-cc.mk')
-rw-r--r-- | builds/compiler/ansi-cc.mk | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/builds/compiler/ansi-cc.mk b/builds/compiler/ansi-cc.mk index 0309e39fc..c52c12fcc 100644 --- a/builds/compiler/ansi-cc.mk +++ b/builds/compiler/ansi-cc.mk @@ -3,7 +3,7 @@ # -# Copyright 1996-2000 by +# Copyright 1996-2000, 2003 by # David Turner, Robert Wilhelm, and Werner Lemberg. # # This file is part of the FreeType project, and may only be used, modified, @@ -15,7 +15,9 @@ # Compiler command line name # -CC := cc +CC := cc +COMPILER_SEP := $(SEP) + # The object file extension (for standard and static libraries). This can be # .o, .tco, .obj, etc., depending on the platform. @@ -74,8 +76,9 @@ ANSIFLAGS := # Library linking # ifndef CLEAN_LIBRARY - CLEAN_LIBRARY = $(DELETE) $(subst $(SEP),$(HOSTSEP),$(PROJECT_LIBRARY)) + CLEAN_LIBRARY = $(DELETE) $(subst /,$(SEP),$(PROJECT_LIBRARY)) endif -LINK_LIBRARY = $(AR) -r $@ $(OBJECTS_LIST) +LINK_LIBRARY = $(AR) -r $@ $(subst /,$(COMPILER_SEP),$(OBJECTS_LIST)) + # EOF |