~xdavidwu/motion-control

ref: ffeec99fd75a4fe980e55a6eecb07e9cc71e70d9 motion-control/Makefile -rw-r--r-- 454 bytes
ffeec99fxdavidwu evdev: wrap errors to errors::error 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
SENSORS ?= gy-801
BINARIES = evdev-dump-events uinput-pointer sensors-dump pointerd pointerc motion-control buttonc

evdev-dump-events uinput-pointer:
	hare build -levdev -o $@ tools/$@/
sensors-dump pointerc:
	hare build -T +$(SENSORS) -o $@ tools/$@/
buttonc:
	hare build -o $@ tools/$@/
pointerd:
	hare build -levdev -o $@ cmd/$@/
motion-control:
	hare build -T +$(SENSORS) -o $@ cmd/$@/
.PHONY: $(BINARIES)
all: $(BINARIES)
clean:
	rm -f $(BINARIES)