From 3b038012cb8f4c939194573240b52ba5c392d9dc Mon Sep 17 00:00:00 2001 From: bde Date: Tue, 7 Jul 1998 01:06:58 +0000 Subject: Added a `build-tools' target for internal tools. Removed explicit dependencies of foo.o on foo.c. These were mainly placeholders for comments about missing dependencies of tools objects on headers. This problem needs to be handled more generally. --- bin/sh/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'bin') diff --git a/bin/sh/Makefile b/bin/sh/Makefile index c5b6c65..fc1afd4 100644 --- a/bin/sh/Makefile +++ b/bin/sh/Makefile @@ -1,5 +1,5 @@ # @(#)Makefile 8.4 (Berkeley) 5/5/95 -# $Id: Makefile,v 1.26 1998/05/05 07:36:55 bde Exp $ +# $Id: Makefile,v 1.27 1998/05/06 15:33:59 bde Exp $ PROG= sh SHSRCS= alias.c arith.y arith_lex.l cd.c echo.c error.c eval.c exec.c expand.c \ @@ -24,6 +24,8 @@ CLEANFILES+= mkinit mkinit.o mknodes mknodes.o \ mksyntax mksyntax.o CLEANFILES+= ${GENSRCS} ${GENHDRS} +build-tools: mkinit mknodes mksyntax + .ORDER: builtins.c builtins.h builtins.c builtins.h: mkbuiltins builtins.def cd ${.CURDIR}; sh mkbuiltins ${.OBJDIR} @@ -38,11 +40,8 @@ init.c: mkinit alias.c eval.c exec.c input.c jobs.c options.c parser.c \ .o: ${CC} ${CFLAGS} ${LDFLAGS} ${.IMPSRC} ${LDLIBS} -o ${.TARGET} mkinit: mkinit.o -mkinit.o: mkinit.c # XXX and many headers mknodes: mknodes.o -mknodes.o: mknodes.c # XXX and many headers mksyntax: mksyntax.o -mksyntax.o: mksyntax.c # XXX and many headers .ORDER: nodes.c nodes.h nodes.c nodes.h: mknodes nodetypes nodes.c.pat -- cgit v1.1