aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2020-05-02 18:51:36 -0400
committerJesse Luehrs <doy@tozt.net>2020-05-02 18:59:11 -0400
commit737b57922e8230d031a55e81bc01de44cbe278bb (patch)
tree235b72f8e462d0436edfbf38241aa31eb3ee6852 /Makefile
parentf035ac5470c7fbcf791e361cb2d611de7edafb0f (diff)
downloadrbw-737b57922e8230d031a55e81bc01de44cbe278bb.tar.gz
rbw-737b57922e8230d031a55e81bc01de44cbe278bb.zip
make sure the makefile always builds all targets
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c792114..a95bf3b 100644
--- a/Makefile
+++ b/Makefile
@@ -3,12 +3,15 @@ VERSION = $(shell cargo metadata --no-deps --format-version 1 | jq '.packages[0]
DEB_PACKAGE = $(NAME)_$(VERSION)_amd64.deb
-all:
- @cargo build
+all: build
.PHONY: all
+build:
+ @cargo build --all-targets
+.PHONY: build
+
release:
- @cargo build --release
+ @cargo build --release --all-targets
.PHONY: release
test: