Fix building with -C

This commit is contained in:
friedkeenan 2019-07-08 14:17:15 -05:00
parent 101c8bc1d0
commit 0fc17cccfb

View file

@ -91,10 +91,10 @@ clean:
@rm -rf $(OUTPUTDIR) @rm -rf $(OUTPUTDIR)
$(MODULEDIRS): $(MODULEDIRS):
$(MAKE) -C $@ $(MAKECMDGOALS)$(MAKEFLAGS) $(MAKE) -C $@ $(MAKECMDGOALS) -$(MAKEFLAGS)
$(NYXDIR): $(NYXDIR):
$(MAKE) -C $@ $(MAKECMDGOALS)$(MAKEFLAGS) $(MAKE) -C $@ $(MAKECMDGOALS) -$(MAKEFLAGS)
$(TARGET).bin: $(BUILDDIR)/$(TARGET)/$(TARGET).elf $(MODULEDIRS) $(NYXDIR) $(TARGET).bin: $(BUILDDIR)/$(TARGET)/$(TARGET).elf $(MODULEDIRS) $(NYXDIR)
$(OBJCOPY) -S -O binary $< $(OUTPUTDIR)/$@ $(OBJCOPY) -S -O binary $< $(OUTPUTDIR)/$@