mirror of
https://github.com/pldubouilh/gossa
synced 2025-12-06 08:22:32 +01:00
Make make clean output cleaner
Use `rm -f` to suppress errors on removal of nonexistent files. Also make `clean` a phony target.
This commit is contained in:
parent
382b2e3734
commit
3ce7703d60
1 changed files with 7 additions and 6 deletions
13
Makefile
13
Makefile
|
|
@ -64,11 +64,12 @@ build-all: build
|
|||
${NOCGO} GOOS=windows GOARCH=amd64 go build ${FLAGS} -o builds/gossa-windows.exe
|
||||
sha256sum builds/*
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
-rm gossa
|
||||
-rm gossa-linux64
|
||||
-rm gossa-linux-arm
|
||||
-rm gossa-linux-arm64
|
||||
-rm gossa-mac
|
||||
-rm gossa-windows.exe
|
||||
rm -f gossa
|
||||
rm -f gossa-linux64
|
||||
rm -f gossa-linux-arm
|
||||
rm -f gossa-linux-arm64
|
||||
rm -f gossa-mac
|
||||
rm -f gossa-windows.exe
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue