21 lines
345 B
Makefile
21 lines
345 B
Makefile
name := "freling_netatmo_algo"
|
|
exe := "./packing"
|
|
build_sh := "build.sh"
|
|
|
|
build:
|
|
tup
|
|
|
|
run: build
|
|
{{exe}} lenna.png 0 0 0 0
|
|
|
|
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
|