More idiomatic (to me) Makefile
Mockband / build (push) Failing after 11s
Details
Mockband / build (push) Failing after 11s
Details
This commit is contained in:
parent
9f0c0711a8
commit
63bd067250
14
Makefile
14
Makefile
|
@ -1,22 +1,20 @@
|
|||
DEVICE=/dev/ttyACM0
|
||||
|
||||
all:
|
||||
all: firmwares
|
||||
|
||||
firmwares += build/MockBand.guitar-wammy.hex
|
||||
firmwares: build/MockBand.guitar-wammy.hex
|
||||
build/MockBand.guitar-wammy.hex: VID=0x1bad
|
||||
build/MockBand.guitar-wammy.hex: PID=0x0004
|
||||
build/MockBand.guitar-wammy.hex: FLAGS=-DWAMMY
|
||||
|
||||
firmwares += build/MockBand.guitar.hex
|
||||
firmwares: build/MockBand.guitar.hex
|
||||
build/MockBand.guitar.hex: VID=0x1bad
|
||||
build/MockBand.guitar.hex: PID=0x0004
|
||||
|
||||
firmwares += build/MockBand.drums.hex
|
||||
firmwares: build/MockBand.drums.hex
|
||||
build/MockBand.drums.hex: VID=0x1bad
|
||||
build/MockBand.drums.hex: PID=0x3110
|
||||
|
||||
all: $(firmwares)
|
||||
|
||||
build/MockBand.%.hex: MockBand.ino
|
||||
mkdir -p build/cache
|
||||
rm -f build/build.options.json
|
||||
|
@ -37,9 +35,9 @@ flash-%: build/MockBand.%.hex
|
|||
|
||||
dist: build/MockBand.zip
|
||||
|
||||
build/MockBand.zip: $(firmwares)
|
||||
build/MockBand.zip: firmwares
|
||||
rm -f $@
|
||||
zip -r $@ README.md $^ docs/
|
||||
zip -r $@ README.md build/*.hex docs/
|
||||
|
||||
clean:
|
||||
rm -rf build
|
||||
|
|
Loading…
Reference in New Issue