Pass CC on make command line so we won't have to change FreeType source

files

svn path=/trunk/; revision=4551
This commit is contained in:
Gé van Geldorp 2003-04-18 10:48:13 +00:00
parent 3ac978f542
commit 9acdb61c4b
3 changed files with 5 additions and 13 deletions

View file

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.2 2003/04/02 23:25:56 gvg Exp $
# $Id: Makefile,v 1.3 2003/04/18 10:48:12 gvg Exp $
PATH_TO_TOP = ../..
@ -34,9 +34,9 @@ all: $(MK_FULLNAME) $(MK_NOSTRIPNAME)
objs/*.o objs/libfreetype.a:
ifeq ($(DBG), 1)
@$(MAKE) -f Makefile.freetype CFLAGS="-c -g -Wall"
@$(MAKE) -f Makefile.freetype CFLAGS="-c -g -Wall" CC:=$(CC)
else
@$(MAKE) -f Makefile.freetype
@$(MAKE) -f Makefile.freetype CC:=$(CC)
endif
# Automatic dependency tracking

View file

@ -39,14 +39,6 @@ Setup the FreeType build by copying the correct configuration file:
copy lib\freetype\builds\win32\w32-mingw32.mk lib\freetype\config.mk
Support cross-compillation by not setting CC in builds\compiler\gcc.mk:
# Compiler command line name
#
#CC := gcc
The CC variable from rules.mak will be used then (with the correct prefix).
Copy the ReactOS specific files from the old directory to the new:
move lib\freetype\Makefile lib\freetype\Makefile.freetype
@ -73,4 +65,4 @@ file, so it is obvious to everyone which FreeType version we're using.
After testing, you can commit the new/changed files to CVS. ALthough files
config.mk and freetype.def are generated, they should be included in CVS.
$Id: README.ROS,v 1.2 2003/04/04 21:30:30 chorns Exp $
$Id: README.ROS,v 1.3 2003/04/18 10:48:12 gvg Exp $

View file

@ -15,7 +15,7 @@
# Compiler command line name
#
#CC := gcc
CC := gcc
# The object file extension (for standard and static libraries). This can be
# .o, .tco, .obj, etc., depending on the platform.