home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
CMDS
/
less_332.lzh
/
less_332
/
Makefile.dsg
< prev
next >
Wrap
Makefile
|
1998-03-03
|
1KB
|
69 lines
# Makefile for less under DJGPP v2.0 or later.
#### Start of system configuration section. ####
srcdir = .
VPATH = .
CC = gcc
CFLAGS = -O2
CFLAGS_COMPILE_ONLY = -c
LDFLAGS = -s
O=o
LIBS =
#### End of system configuration section. ####
# This rule allows us to supply the necessary -D options
# in addition to whatever the user asks for.
.c.o:
${CC} -I. ${CFLAGS_COMPILE_ONLY} ${CPPFLAGS} ${CFLAGS} $<
OBJ = main.${O} screen.${O} brac.${O} ch.${O} charset.${O} cmdbuf.${O} \
command.${O} decode.${O} edit.${O} filename.${O} forwback.${O} \
help.${O} ifile.${O} input.${O} jump.${O} line.${O} linenum.${O} \
lsystem.${O} mark.${O} optfunc.${O} option.${O} opttbl.${O} os.${O} \
output.${O} position.${O} prompt.${O} search.${O} signal.${O} \
tags.${O} ttyin.${O} version.${O}
all: less lesskey
less: ${OBJ}
${CC} ${LDFLAGS} -o $@ ${OBJ} ${LIBS}
lesskey: lesskey.${O} version.${O}
${CC} ${LDFLAGS} -o $@ lesskey.${O} version.${O}
defines.h: defines.ds
update $< $@
${OBJ}: less.h defines.h funcs.h
info:
install-info:
dvi:
check:
installcheck:
TAGS:
etags *.c *.h
newfuncs:
redir -o funcs.h gawk -f mkfuncs.awk ${OBJ:.${O}=.c}
clean:
for %f in (*.${O} less lesskey *.exe) do if exist %f del %f
mostlyclean: clean
distclean: clean
if not exist Makefile.dsg ren Makefile Makefile.dsg
if not exist defines.ds ren defines.h defines.ds
for %f in (Makefile defines.h) do if exist %f del %f
realclean: distclean
if exist TAGS del TAGS