21 lines
327 B
Makefile
21 lines
327 B
Makefile
name := "freling_netatmo_algo"
|
|
exe := "./packing"
|
|
build_sh := "build.sh"
|
|
|
|
build:
|
|
tup
|
|
|
|
run: build
|
|
{{exe}}
|
|
|
|
generate-build:
|
|
git clean -xf src/
|
|
rm --force {{exe}}
|
|
tup generate {{build_sh}}
|
|
|
|
debug: build
|
|
lldb {{exe}}
|
|
|
|
archive: generate-build
|
|
git archive --add-file={{build_sh}} --output={{name}}.zip --prefix={{name}}/ HEAD
|