diff options
Diffstat (limited to 'contrib/less/Makefile.o2e')
-rw-r--r-- | contrib/less/Makefile.o2e | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/contrib/less/Makefile.o2e b/contrib/less/Makefile.o2e index 4fc3eef..b0b9db2 100644 --- a/contrib/less/Makefile.o2e +++ b/contrib/less/Makefile.o2e @@ -4,8 +4,8 @@ #### Start of system configuration section. #### CC = gcc -Zomf -CFLAGS = -I. -O -LDFLAGS = -s -Zcrtdll -Zstack 512 +CFLAGS = -I. -O2 -Wall +LDFLAGS = -s -Zcrtdll LIBS = -ltermcap O = obj @@ -25,7 +25,7 @@ OBJ = main.${O} screen.${O} brac.${O} ch.${O} charset.${O} cmdbuf.${O} \ output.${O} position.${O} prompt.${O} search.${O} signal.${O} \ tags.${O} ttyin.${O} version.${O} regexp.${O} -all: less.exe lesskey.exe +all: less.exe lesskey.exe scrsize.exe less.exe: ${OBJ} ${CC} ${OBJ} -o $@ ${LDFLAGS} ${LIBS} @@ -33,6 +33,9 @@ less.exe: ${OBJ} lesskey.exe: lesskey.${O} version.${O} ${CC} lesskey.${O} version.${O} -o $@ ${LDFLAGS} +scrsize.exe: scrsize.c + ${CC} ${CFLAGS} -D__ST_MT_ERRNO__ -s -Zmtd -lX11 $< + ${OBJ}: defines.h less.h defines.h: defines.o2 |