heirloom-ed

diff makefile @ 4:4165f1b57d18

Become SUSv3 compatible and thus remove own regexp code The Heirloom tools can be compiled to comply to several standards. This version does not need this flexibility. We can omit the regexp code and use the system's, by using the SU3 variant of ed. This is the latest of the supported standards.
author markus schnalke <meillo@marmaro.de>
date Mon, 13 Apr 2015 17:26:51 +0200
parents 1493bea5ac22
children
line diff
     1.1 --- a/makefile	Sun Apr 12 21:45:34 2015 +0200
     1.2 +++ b/makefile	Mon Apr 13 17:26:51 2015 +0200
     1.3 @@ -88,15 +88,12 @@
     1.4  
     1.5  all: ed
     1.6  
     1.7 -ed: ed.o regexpr.o sigset.o sigrelse.o
     1.8 +ed: ed.o sigset.o sigrelse.o
     1.9  	$(LD) $(LDFLAGS) ed.o -o ed
    1.10  
    1.11 -ed.o: ed.c regexp.h
    1.12 +ed.o: ed.c
    1.13  	$(CC) $(CFLAGS) $(CPPFLAGS) $(IWCHAR) -DSHELL='"$(SHELL)"' -I. -c ed.c
    1.14  
    1.15 -regexpr.o: regexpr.c regexpr.h regexp.h
    1.16 -	$(CC) $(CFLAGS) $(CPPFLAGS) $(IWCHAR) -I. -c regexpr.c
    1.17 -
    1.18  sigset.o: sigset.c sigset.h
    1.19  	$(CC) $(CFLAGS) $(CPPFLAGS) -I. -c sigset.c
    1.20  
    1.21 @@ -114,7 +111,7 @@
    1.22  	chmod 644 $(ROOT)$(MANDIR)/man1/ed.1
    1.23  
    1.24  clean:
    1.25 -	rm -f ed.o regexpr.o sigset.o sigrelse.o core log *~
    1.26 +	rm -f ed.o sigset.o sigrelse.o core log *~
    1.27  
    1.28  mrproper: clean
    1.29  	rm -f ed