comparison src/=Makefile.in @ 158:a4e766535a97

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Sat, 05 Jan 1991 17:23:40 +0000
parents d79553328306
children 3cbe2e1f5585
comparison
equal deleted inserted replaced
157:01ad7ec29c98 158:a4e766535a97
1 MAKE = make
2 # BSD doesn't have it as a default.
3
4 CC = gcc
1 CPP = $(CC) -E 5 CPP = $(CC) -E
2 MAKE = make # BSD doesn't have it as a default.
3 #Note: an alternative is CPP = /lib/cpp 6 #Note: an alternative is CPP = /lib/cpp
4 7
5 all: xmakefile doall 8 all: xmakefile doall
6 9
7 doall: 10 doall:
26 $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} temacs 29 $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} temacs
27 30
28 # If you have a problem with cc -E here, changing 31 # If you have a problem with cc -E here, changing
29 # the definition of CPP above may fix it. 32 # the definition of CPP above may fix it.
30 xmakefile: ymakefile config.h 33 xmakefile: ymakefile config.h
31 rm -f xmakefile 34 -rm -f xmakefile junk.c
32 cp ymakefile junk.c 35 cp ymakefile junk.c
33 $(CPP) junk.c | sed -e 's/^#.*//' -e 's/^[ \f\t][ \f\t]*$$//' -e 's/^ / /' | \ 36 $(CPP) junk.c | sed -e 's/^#.*//' -e 's/^[ \f\t][ \f\t]*$$//' -e 's/^ / /' | \
34 sed -n -e '/^..*$$/p' > xmakefile 37 sed -n -e '/^..*$$/p' > xmakefile
35 rm -f junk.c 38 rm -f junk.c
36 39