summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKevin Wallace <kevin@pentabarf.net>2026-03-05 20:18:45 -0800
committerKevin Wallace <kevin@pentabarf.net>2026-03-05 20:30:22 -0800
commit2ef3182af5118bc170f5e42c458e2c2c16288e6c (patch)
treea1b9d7918196aab06f6a43505616266b67fbb6d3 /Makefile
parentmake protocol trace logging optional, default off (diff)
beep when you press the buttonHEADmaster
Polls PIC32 ignition button state, tells the cVEND to beep.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 1620c85..07e308d 100644
--- a/Makefile
+++ b/Makefile
@@ -5,8 +5,9 @@ export GOARM=7
USB_ROOT=/Volumes/MP_SD
GOSOURCES:=$(shell find . -name *.go)
+BINS:=bin/cvend-ipp bin/pic32-ipp bin/beep
-all: bin/cvend-ipp bin/pic32-ipp
+all: ${BINS}
clean:
rm -r bin
@@ -15,8 +16,7 @@ bin/%: ${GOSOURCES}
mkdir -p bin
go build -o $@ ./cmd/$*
-usb: autorun.sh bin/cvend-ipp bin/pic32-ipp
+usb: autorun.sh ${BINS}
install autorun.sh ${USB_ROOT}/
install -d ${USB_ROOT}/bin/
- install bin/cvend-ipp ${USB_ROOT}/bin/
- install bin/pic32-ipp ${USB_ROOT}/bin/
+ install ${BINS} ${USB_ROOT}/bin/