From: Andrew Waterman Date: Mon, 3 Jun 2013 05:14:19 +0000 (-0700) Subject: make spike.o correctly depend on dispatch.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=34be1b9afd19f2c8a509922c8bf2fd12ebb46e4b;p=riscv-isa-sim.git make spike.o correctly depend on dispatch.h --- diff --git a/Makefile.in b/Makefile.in index 787bdd6..19e6805 100644 --- a/Makefile.in +++ b/Makefile.in @@ -189,7 +189,7 @@ $(2)_deps := $$(patsubst %.o, %.d, $$($(2)_objs)) $(2)_c_deps := $$(patsubst %.o, %.d, $$($(2)_c_objs)) $$($(2)_objs) : %.o : %.cc $$($(2)_gen_hdrs) $(COMPILE) -c $$< -$$($(2)_c_objs) : %.o : %.c +$$($(2)_c_objs) : %.o : %.c $$($(2)_gen_hdrs) $(COMPILE_C) -c $$< $(2)_junk += $$($(2)_objs) $$($(2)_c_objs) $$($(2)_deps) $$($(2)_c_deps) @@ -260,7 +260,7 @@ $(2)_install_prog_objs := $$(patsubst %.cc, %.o, $$($(2)_install_prog_srcs)) $(2)_install_prog_deps := $$(patsubst %.o, %.d, $$($(2)_install_prog_objs)) $(2)_install_prog_exes := $$(patsubst %.cc, %, $$($(2)_install_prog_srcs)) -$$($(2)_install_prog_objs) : %.o : %.cc +$$($(2)_install_prog_objs) : %.o : %.cc $$($(2)_gen_hdrs) $(COMPILE) -c $$< $$($(2)_install_prog_exes) : % : %.o $$($(2)_prog_libnames)