~xdavidwu/motion-control

1e1394b4ca9216e1243663954b3bd8ac4c29e839 — Pinghao Wu 2 months ago 9021a55
Makefile: move 'all' target to the first

thus the default
1 files changed, 4 insertions(+), 2 deletions(-)

M Makefile
M Makefile => Makefile +4 -2
@@ 7,6 7,9 @@ ifeq ($(SENSORS), joycon)
	SENSORS_LIBS = -levdev
endif

.PHONY: $(BINARIES)
all: $(BINARIES)

event-codes:
	hare build -o $@ aux/$@/
evdev/codes.ha: event-codes


@@ 22,7 25,6 @@ pointerd: evdev/codes.ha
	hare build -levdev -o $@ cmd/$@/
motion-control:
	hare build $(SENSORS_LIBS) -T +$(SENSORS) -o $@ cmd/$@/
.PHONY: $(BINARIES)
all: $(BINARIES)

clean:
	rm -f event-codes evdev/codes.ha $(BINARIES)