Skip to content

Commit ad688c1

Browse files
committed
build: VPATH is not needed.
1 parent d5b4ec7 commit ad688c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ out: FORCE
4545
+mkdir -p out/$(mcu)/$(level)/$(target)
4646

4747
target: FORCE out
48-
$(MAKE) VPATH=$(ROOT)/src -C out/$(mcu)/$(level)/$(target) -f $(ROOT)/Rules.mk target.bin target.hex target.dfu $(mcu)=y $(level)=y $(target)=y
48+
$(MAKE) -C out/$(mcu)/$(level)/$(target) -f $(ROOT)/Rules.mk target.bin target.hex target.dfu $(mcu)=y $(level)=y $(target)=y
4949

5050
HXC_FF_URL := https://www.github.com/keirf/flashfloppy-hxc-file-selector
5151
HXC_FF_URL := $(HXC_FF_URL)/releases/download

Rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ build.o: $(OBJS)
7474

7575
%/build.o: FORCE
7676
+mkdir -p $*
77-
$(MAKE) VPATH=$(VPATH)/$* -f $(ROOT)/Rules.mk -C $* build.o
77+
$(MAKE) -f $(ROOT)/Rules.mk -C $* build.o
7878

7979
%.ld: $(SRCDIR)/%.ld.S $(SRCDIR)/Makefile
8080
@echo CPP $@

0 commit comments

Comments
 (0)