summaryrefslogtreecommitdiff
path: root/hid/Makefile
blob: 0d07db8450604ef8ded4260e649015c79545a014 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
usb:
	make _build E=usb
ps2:
	make _build E=ps2
mixed:
	make _build E=mixed
_build:
	rm -f .current
	platformio run --environment $(E)
	echo -n $(E) > .current


install: upload
upload:
	platformio run --environment $(shell cat .current) --target upload


update:
	platformio platform update


clean-all: clean
clean:
	rm -rf .pio .current


help:
	@ cat Makefile