summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/=Makefile.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/=Makefile.in b/src/=Makefile.in
index 350753fb77a..2b4c362a7a4 100644
--- a/src/=Makefile.in
+++ b/src/=Makefile.in
@@ -1,5 +1,8 @@
+MAKE = make
+# BSD doesn't have it as a default.
+
+CC = gcc
CPP = $(CC) -E
-MAKE = make # BSD doesn't have it as a default.
#Note: an alternative is CPP = /lib/cpp
all: xmakefile doall
@@ -28,7 +31,7 @@ dotemacs:
# If you have a problem with cc -E here, changing
# the definition of CPP above may fix it.
xmakefile: ymakefile config.h
- rm -f xmakefile
+ -rm -f xmakefile junk.c
cp ymakefile junk.c
$(CPP) junk.c | sed -e 's/^#.*//' -e 's/^[ \f\t][ \f\t]*$$//' -e 's/^ / /' | \
sed -n -e '/^..*$$/p' > xmakefile