File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,10 @@ mrproper: FORCE clean
42
42
rm -rf ext
43
43
44
44
out : FORCE
45
- mkdir -p out/$(mcu ) /$(level ) /$(target )
46
- rsync -a --include=" */" --exclude=" *" src/ out/$(mcu ) /$(level ) /$(target )
45
+ +mkdir -p out/$(mcu ) /$(level ) /$(target )
47
46
48
47
target : FORCE out
49
- $(MAKE ) -C out/$(mcu ) /$(level ) /$(target ) -f $(ROOT ) /Rules.mk target.bin target.hex target.dfu $(mcu ) =y $(level ) =y $(target ) =y
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
50
49
51
50
HXC_FF_URL := https://www.github.com/keirf/flashfloppy-hxc-file-selector
52
51
HXC_FF_URL := $(HXC_FF_URL ) /releases/download
Original file line number Diff line number Diff line change @@ -73,7 +73,8 @@ build.o: $(OBJS)
73
73
$(LD ) -r -o $@ $^
74
74
75
75
% /build.o : FORCE
76
- $(MAKE ) -f $(ROOT ) /Rules.mk -C $* build.o
76
+ +mkdir -p $*
77
+ $(MAKE ) VPATH=$(VPATH ) /$* -f $(ROOT ) /Rules.mk -C $* build.o
77
78
78
79
% .ld : $(SRCDIR ) /% .ld.S $(SRCDIR ) /Makefile
79
80
@echo CPP $@
You can’t perform that action at this time.
0 commit comments