diff --git a/npc/Makefile b/npc/Makefile index 8c2073d..321abdd 100644 --- a/npc/Makefile +++ b/npc/Makefile @@ -15,7 +15,7 @@ sim: $(VSRC) $(CPPSRC) $(SUBMAKE) @$(OBJDIR)/Vexample $(OBJDIR)/Vexample: $(SUBMAKE) - make -C $(OBJDIR) -f $(notdir $(SUBMAKE)) Vexample + $(MAKE) -C $(OBJDIR) -f $(notdir $(SUBMAKE)) Vexample $(SUBMAKE): $(VSRC) $(CPPSRC) $(OBJDIR) verilator $(VERILATOR_FLAGS) --Mdir $(PWD)/$(OBJDIR) $(VSRC) $(CPPSRC)