home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
graphics
/
gif-util.zip
/
MAKEFILE.2
< prev
next >
Wrap
Text File
|
1989-08-01
|
1KB
|
51 lines
#
# This is the make file for the lib subdirectory of the GIF library
# In order to run it tcc is assumed to be available, in addition to
# tlib and obviously borland make.
#
# Usage: "make [-DMDL=model]" where model can be l (large) or c (compact) etc.
# Note the MDL is optional with large model as default.
#
# Gershon Elber, Jun 1989
#
# Your C compiler
CC = tcc
# MDL set?
!if !$d(MDL)
MDL=l
!endif
# Where all the include files are:
INC = -I.
# Note the tcc xxxxxx.tc files enables ALL warnings for more strict tests so
# you should use them during debuging. I didnt add it here as command lines
# are limited to 128 chars...
FLAGS = -m$(MDL) -a- -f- -G -O -r -c -d -w
OBJS = dev2gif.obj egif_lib.obj dgif_lib.obj gif_hash.obj gif_err.obj getarg.obj
# Show me better way if you know one to preper this line for TLIB:
OBJS1 = +dev2gif.obj +egif_lib.obj +dgif_lib.obj +gif_hash.obj +gif_err.obj +getarg.obj
.c.obj:
$(CC) $(INC) $(FLAGS) $<
gif_libl.lib: $(OBJS)
del gif_lib$(MDL).old
ren gif_lib$(MDL).lib gif_lib$(MDL).old
tlib gif_lib$(MDL).lib $(OBJS1), gif_lib$(MDL).lst
dev2gif.obj: gif_lib.h
egif_lib.obj: gif_lib.h gif_hash.h
dgif_lib.obj: gif_lib.h gif_hash.h
gif_hash.obj: gif_lib.h gif_hash.h
gif_err.obj: gif_lib.h
getarg.obj: getarg.h