Maintaing library modules with Make 4.2BSD

jal at oliveb.UUCP jal at oliveb.UUCP
Wed May 28 23:36:57 AEST 1986


I am currently building a library for a port we are doing.

I would like to use make to automatically check the time of a module within
a library, and if it is older than the corresponding source, to recompile
the source and replace the module in the library.

I tried something like:

	library(module) : module.c
		.
		.

but it reompiled everytime.

I eventually ended up using dummy files which were touched every time the 
corresponding module was recompiled but it is messy.

Any thoughts?

Thanks in advance,
			Jayen.



More information about the Comp.unix mailing list