X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/8aff54a1a63e8f1df06ebf6f5d645c466ede8a3f..7469d31e1a189759e6c32a5116b1b8e9da750da1:/vars.am?ds=sidebyside diff --git a/vars.am b/vars.am index e4406ca..21f03ce 100644 --- a/vars.am +++ b/vars.am @@ -92,8 +92,12 @@ V_SOD_h_0 = @echo " SOD[h] $@"; ## Build rules. SUFFIXES += .c .h .sod -.sod.c: $(SOD); $(V_SOD_c)$(SOD) -tc $< -.sod.h: $(SOD); $(V_SOD_h)$(SOD) -th $< +.sod.c:; $(V_SOD_c)$(SOD) -tc $< +.sod.h:; $(V_SOD_h)$(SOD) -th $< +%.c: %.sod $(SOD); $(V_SOD_c)$(SOD) -M -tc $< +%.h: %.sod $(SOD); $(V_SOD_h)$(SOD) -M -th $< + +DISTCLEANFILES += *.c-dep *.h-dep ###-------------------------------------------------------------------------- ### Silent rules for Lisp.