diff options
author | delphij <delphij@FreeBSD.org> | 2006-08-20 15:49:51 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2006-08-20 15:49:51 +0000 |
commit | 5297f4bc59da861bbe3beb5ee12839fa05e79882 (patch) | |
tree | 66e8cb2705abe3d167ba3a94a60d37c894690ff2 /contrib/less/Makefile.wnb | |
parent | 71cad8a96df623ac7d9129aa5e8c983df1030b0c (diff) | |
download | FreeBSD-src-5297f4bc59da861bbe3beb5ee12839fa05e79882.zip FreeBSD-src-5297f4bc59da861bbe3beb5ee12839fa05e79882.tar.gz |
Import less v394
Diffstat (limited to 'contrib/less/Makefile.wnb')
-rw-r--r-- | contrib/less/Makefile.wnb | 35 |
1 files changed, 28 insertions, 7 deletions
diff --git a/contrib/less/Makefile.wnb b/contrib/less/Makefile.wnb index 4da10fc..2d1c85b 100644 --- a/contrib/less/Makefile.wnb +++ b/contrib/less/Makefile.wnb @@ -1,20 +1,27 @@ # Makefile for less. # Windows version +# Bolarnd C++ 5.5.1 free command line tools #### Start of system configuration section. #### +# +# Borland's make knows its own location in the +# filesystem. +# CC = bcc32 -LIBDIR = d:\bc45\lib +LIBDIR = $(MAKEDIR)\..\lib CFLAGS = -O2 -w-pro -TWC -P-c -v- -d -f- -ff- -vi -LDFLAGS = /Tpe /v- /ap /c /x -LD = tlink32 +LDFLAGS = -Tpe -v- -ap -c -x -V4.0 -GF:AGGRESSIVE +LD = ilink32 LIBS = ${LIBDIR}\import32.lib ${LIBDIR}\cw32.lib #### End of system configuration section. #### +# # This rule allows us to supply the necessary -D options # in addition to whatever the user asks for. +# .c.obj: ${CC} -c -I. ${CPPFLAGS} ${CFLAGS} $< @@ -25,16 +32,20 @@ OBJ = main.obj screen.obj brac.obj ch.obj charset.obj cmdbuf.obj command.obj \ position.obj prompt.obj search.obj signal.obj tags.obj \ ttyin.obj version.obj regexp.obj -all: less lesskey +all: less lesskey lessecho +# # This is really horrible, but the command line is too long for # MS-DOS if we try to link ${OBJ}. +# less: ${OBJ} - -del lesskey.obj - ${LD} ${LDFLAGS} ${LIBDIR}\c0x32.obj *.obj, $@,,${LIBS} + ${LD} ${LDFLAGS} ${LIBDIR}\c0x32.obj $**, $@,,${LIBS} lesskey: lesskey.obj version.obj - ${LD} ${LDFLAGS} ${LIBDIR}\c0x32.obj lesskey.obj version.obj, $@,,${LIBS} + ${LD} ${LDFLAGS} ${LIBDIR}\c0x32.obj $**, $@,,${LIBS} + +lessecho: lessecho.obj version.obj + ${LD} ${LDFLAGS} ${LIBDIR}\c0x32.obj $**, $@,,${LIBS} defines.h: defines.wn -del defines.h @@ -44,6 +55,16 @@ ${OBJ}: less.h defines.h funcs.h cmd.h clean: -del *.obj + -del *.il? + -del *.tds + -del defines.h + +spotless: clean -del less.exe -del lesskey.exe + -del lessecho.exe + +realclean: spotless + +distclean: spotless |