makefile.c5

来自「开放源码的编译器open watcom 1.6.0版的源代码」· C5 代码 · 共 30 行

C5
30
字号
# Makefile for MSC compilation of public domain tar program.
# MS/DOS version - port by Eric Roskos, IDA

DEFS = -DUSG -DNONAMES
LIBS =
DEF_AR_FILE = \"ARCHIVE.TAR\"
DEFBLOCKING = 20
COPTS = -Osl

CFLAGS = $(COPTS) $(DEFS) \
	-DDEF_AR_FILE=$(DEF_AR_FILE) \
	-DDEFBLOCKING=$(DEFBLOCKING)

# Add things here like getopt, readdir, etc that aren't in your
# standard libraries.  Do *NOT* include binmode for MS-DOS.
SUBSRC=	ndir.c getopt.c
SUBOBJ=	ndir.obj getopt.obj \lib\setargv.obj

SRCS =	tar.c create.c extract.c buffer.c getoopt.c list.c names.c \
	port.c dosio.c $(SUBSRC)
OBJS = 	tar.obj create.obj extract.obj buffer.obj getoopt.obj \
	list.obj names.obj port.obj dosio.obj $(SUBOBJ)
AUX =	README PORTING Makefile TODO tar.1 tar.5 tar.h port.h

.c.obj:
	cl $(CFLAGS) -c $*.c

tar.exe:	$(OBJS)
	link /NOE/NOI/STACK:8192 @lk

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?