summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-11-21 17:53:22 -0500
committerSam Anthony <sam@samanthony.xyz>2024-11-21 17:53:22 -0500
commit460093026a28744acf24cd176f83674d5ead63eb (patch)
treea66c9406a0cd45176713305eb9d45d31e4c0b828 /Makefile
parente9ebb8126224353c7090889c38e49415497a53cd (diff)
downloadsoen422-460093026a28744acf24cd176f83674d5ead63eb.zip
server dashboard: display duty cycle
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index dc7a4ad..6c97dae 100644
--- a/Makefile
+++ b/Makefile
@@ -14,10 +14,10 @@ UPLOADFLAGS = -p ${PORT} ${CFLAGS}
all: SensorStation/build HvacStation/build server/server
server/server: ${SERVER_SRC}
- go build -o $@ $^
+ go build -o $@ ./server
fmt: ${SERVER_SRC}
- gofmt -l -s -w $^
+ gofmt -l -s -w ./server
release:
GOOS=${RELEASE_GOOS} GOARCH=${RELEASE_GOARCH} go build -o server/server ${SERVER_SRC}