27 lines
274 B
Makefile
27 lines
274 B
Makefile
|
|
||
|
|
||
|
all:
|
||
|
make build-main
|
||
|
|
||
|
build-main:
|
||
|
mkdir -p dist/ && go build -o dist/susapp .
|
||
|
|
||
|
package:
|
||
|
./scripts/package-susapp.sh
|
||
|
|
||
|
deb:
|
||
|
make clean && \
|
||
|
make all && \
|
||
|
make package
|
||
|
|
||
|
clean:
|
||
|
rm -rf dist/ && \
|
||
|
rm -rf package/
|
||
|
|
||
|
|
||
|
.PHONY: run
|
||
|
run:
|
||
|
make && \
|
||
|
cd ./dist/ && \
|
||
|
./susapp
|