[2605] in Release_Engineering

home help back first fref pref prev next nref lref last post

error_table rule in Imake config

daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Mon Jun 3 21:59:06 1991

Date: Mon, 3 Jun 91 21:58:45 -0400
From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
To: rel-eng@ATHENA.MIT.EDU

error_table(delete_errs) produces this:

all:: delete_errs.o
depend delete_errs.o:: delete_errs.c delete_errs.h
delete_errs.c delete_errs.h: delete_errs.et
	$(RM) delete_errs.c delete_errs.h
	compile_et delete_errs.et
clean::
	$(RM) delete_errs.c delete_errs.h

The first two lines are unnecessary, and indeed, the second one screws
up Make and causes it to report:

	Inconsistent rules lines for `delete_errs.o'

after "make depend" has been run.

If I want error table dependencies, I'll put rules in to create them
explicitly.  The error_table should just be creating the error table.
I also fail to see why "all" should depend on the object file from the
error table, even if (for example) there is a rule for an error table
in an Imakefile but I have since stop using that error table in my
program.

  jik

home help back first fref pref prev next nref lref last post