=================================================================== RCS file: /cvs/djgpp/djgpp/src/libc/makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -p -u -r1.1 -r1.2 --- djgpp/src/libc/makefile 1995/08/27 07:22:58 1.1 +++ /cvs/djgpp/djgpp/src/libc/makefile 1998/09/27 14:54:14 1.2 @@ -1,6 +1,8 @@ +# Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details # Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details -# Note that makefile.oi, makefile.rf, and ar.in are normally *generated* but -# they are included in the source distribution to ease cross-compiling. +# Note that makefile.oi, makefile.rf and makefile.sub are normally +# *generated* but they are included in the source distribution to ease +# cross-compiling. TOP=. @@ -10,9 +12,9 @@ include $(TOP)/../makefile.lib .PHONY: all info tex texinfo doc libc2.tex -MKDOC = ../../bin/mkdoc +MKDOC = $(HOSTBIN)/mkdoc.exe -all : info +all :: info libc2.tex : $(MKDOC) . libc2.tex @@ -25,3 +27,9 @@ dvi : libc.tex libc2.tex ps : libc.tex libc2.tex texi2ps -v libc.tex + +clean :: + @$(MISC) rm libc2.tex + @$(MAKE) -C stubs $@ + @$(MAKE) -C crt0 $@ + @$(MISC) rm makefile.sub