do chmod last in install
[unix-history] / usr / src / usr.bin / ex / Makefile
index 94753df..ab64ffe 100644 (file)
@@ -28,7 +28,8 @@ XSTR= ${BINDIR}/xstr
 DEBUGFLAGS=    -DTRACE -g
 NONDEBUGFLAGS= -O
 DEB=   ${NONDEBUGFLAGS}        # or ${DEBUGFLAGS} to to debug
 DEBUGFLAGS=    -DTRACE -g
 NONDEBUGFLAGS= -O
 DEB=   ${NONDEBUGFLAGS}        # or ${DEBUGFLAGS} to to debug
-CFLAGS=        -DTABS=8 -DCRYPT -DLISPCODE -DCHDIR -DUCVISUAL -DVFORK -DVMUNIX ${DEB}
+OPTIONS= -DCRYPT -DLISPCODE -DCHDIR -DUCVISUAL -DVFORK -DVMUNIX -DSTDIO
+CFLAGS=        -DTABS=8 ${OPTIONS} ${DEB}
 LDFLAGS=       -z              # or -i or -n
 TERMLIB=       -ltermcap
 MKSTR= ${BINDIR}/mkstr
 LDFLAGS=       -z              # or -i or -n
 TERMLIB=       -ltermcap
 MKSTR= ${BINDIR}/mkstr
@@ -94,7 +95,7 @@ exrecover.o: exrecover.c
        ${CC} ${CFLAGS} -c -O exrecover.c
 
 expreserve: expreserve.o
        ${CC} ${CFLAGS} -c -O exrecover.c
 
 expreserve: expreserve.o
-       ${CC} expreserve.o ex_extern.o -o expreserve
+       ${CC} expreserve.o -o expreserve
 
 expreserve.o:
        ${CC} ${CFLAGS} -c -O expreserve.c
 
 expreserve.o:
        ${CC} ${CFLAGS} -c -O expreserve.c