~xdavidwu/motion-control

ref: a1994fca99cfaf8da51a11951dd4f20ffbd3692c motion-control/Makefile -rw-r--r-- 453 bytes
a1994fcaxdavidwu evdev::next_event: return status 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
SENSORS ?= gy801
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)