summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-03-24 21:14:38 +0100
committerxengineering <me@xengineering.eu>2024-03-24 21:14:38 +0100
commitd81a1f40c08acac2f9afe8e80b2c69bbf321d3d6 (patch)
tree093d76e844572c8a47129eafe6161f408ba16b1e /Makefile
parentaa061a390d59157c8d5280e364a5a12f64c0c7ce (diff)
downloadwebiot-d81a1f40c08acac2f9afe8e80b2c69bbf321d3d6.tar
webiot-d81a1f40c08acac2f9afe8e80b2c69bbf321d3d6.tar.zst
webiot-d81a1f40c08acac2f9afe8e80b2c69bbf321d3d6.zip
Remove Makefile
Since the build output is now only one binary it is not so useful anymore to use a Makefile. Removing the Makefile reduces the build dependencies for this project.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 0 insertions, 21 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index c112fd9..0000000
--- a/Makefile
+++ /dev/null
@@ -1,21 +0,0 @@
-DESTDIR="" # leave empty for the current system or provide a fakeroot here
-PREFIX="/usr"
-PROGRAM="webiot"
-
-.PHONY: all clean install debug
-
-all:
- # some recommended options for Go building:
- # https://wiki.archlinux.org/title/Go_package_guidelines
- mkdir -p build
- go build -o build/$(PROGRAM) *.go
-
-clean:
- rm -rf build
-
-install: all
- install -Dm 755 build/$(PROGRAM) $(DESTDIR)$(PREFIX)/bin/$(PROGRAM)
- install -Dm 644 config/default.json $(DESTDIR)/etc/$(PROGRAM)/config.json
-
-debug:
- go run *.go -c config/example.json