~xdavidwu/motion-control

ref: 3c088553b332eee7d26831947f4ad31651175647 motion-control/Makefile -rw-r--r-- 453 bytes
3c088553xdavidwu fix build tag usage 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)