redhat make file change
by Nick Carnevalino · in Torque Game Engine · 04/21/2002 (12:27 pm) · 3 replies
the make file /lib/targets.zlib.mk has the order that the compiler should build the files .. it turns out ( at least on my system ) that the first few files need oter files in the dir to to be made first before it can compile .. anyway if the first part of the file is changed so t looks like
ZLIB.SOURCE=\
zlib/crc32.c \
zlib/deflate.c \
zlib/infblock.c \
zlib/infcodes.c \
zlib/inffast.c \
zlib/inflate.c \
zlib/inftrees.c \
zlib/infutil.c \
zlib/trees.c \
zlib/uncompr.c \
zlib/zutil.c \
zlib/gzio.c \
zlib/compress.c \
zlib/adler32.c
ZLIB.SOURCE.OBJ=$(addprefix $(DIR.OBJ)/, $(ZLIB.SOURCE:.c=$O))
SOURCE.ALL += $(ZLIB.SOURCE)
targetsclean += V12clean
then it works fine.
ZLIB.SOURCE=\
zlib/crc32.c \
zlib/deflate.c \
zlib/infblock.c \
zlib/infcodes.c \
zlib/inffast.c \
zlib/inflate.c \
zlib/inftrees.c \
zlib/infutil.c \
zlib/trees.c \
zlib/uncompr.c \
zlib/zutil.c \
zlib/gzio.c \
zlib/compress.c \
zlib/adler32.c
ZLIB.SOURCE.OBJ=$(addprefix $(DIR.OBJ)/, $(ZLIB.SOURCE:.c=$O))
SOURCE.ALL += $(ZLIB.SOURCE)
targetsclean += V12clean
then it works fine.
#2
04/21/2002 (1:45 pm)
Did you have to change the TORQUEclean to V12clean? There shouldn't be any references to V12 in the makefiles. If a makefile contains V12 then its either a bug in the file or it is out of date.
#3
04/21/2002 (2:46 pm)
i copied/pasted that from the mk file i found on the dev-stable from april 20 ... i didnt mess with tat last part ( didnt even notice the v12 till now ) .. just the file order.
Torque Owner John Quigley