*** empty log message ***
[emacs.git] / src / Makefile.in
blob350753fb77a19c18911f0e4687c0a5ebeb44f1f2
1 CPP = $(CC) -E
2 MAKE = make # BSD doesn't have it as a default.
3 #Note: an alternative is CPP = /lib/cpp
5 all: xmakefile doall
7 doall:
8 $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} all
10 #This is used in making a distribution.
11 #Do not use it on development directories!
12 distclean:
13 -rm -f paths.h config.h emacs-* temacs xemacs xmakefile core *~ \#* *.o
15 clean:
16 -rm -f temacs xemacs xmakefile core \#* *.o
18 xemacs: xmakefile doxemacs
20 doxemacs:
21 $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} xemacs
23 temacs: xmakefile dotemacs
25 dotemacs:
26 $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} temacs
28 # If you have a problem with cc -E here, changing
29 # the definition of CPP above may fix it.
30 xmakefile: ymakefile config.h
31 rm -f xmakefile
32 cp ymakefile junk.c
33 $(CPP) junk.c | sed -e 's/^#.*//' -e 's/^[ \f\t][ \f\t]*$$//' -e 's/^ / /' | \
34 sed -n -e '/^..*$$/p' > xmakefile
35 rm -f junk.c
37 tags TAGS:
38 etags [a-z]*.h [a-z]*.c ../lisp/[a-z]*.el ../lisp/term/[a-z]*.el