📄 makefile
字号:
#
# 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. -Id:\tc\include
# 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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -