Add images-dir dependency
This commit is contained in:
parent
5040d2d7a1
commit
fe00db596c
8
Makefile
8
Makefile
@ -2,22 +2,22 @@ IN_IMGS := imgs
|
|||||||
OUT_IMGS := out-imgs
|
OUT_IMGS := out-imgs
|
||||||
BIN := build/seam-carving --silent
|
BIN := build/seam-carving --silent
|
||||||
|
|
||||||
images: images-ign images-birds
|
images: images-ign images-birds images-boat
|
||||||
|
|
||||||
|
|
||||||
images-dir:
|
images-dir:
|
||||||
mkdir -p $(OUT_IMGS)
|
mkdir -p $(OUT_IMGS)
|
||||||
|
|
||||||
images-birds: build/seam-carving
|
images-birds: build/seam-carving images-dir
|
||||||
$(BIN) -s $(IN_IMGS)/birds.jpg -m $(IN_IMGS)/birds-mask.jpg -o $(OUT_IMGS)/vertical-birds.jpg -u --vertical
|
$(BIN) -s $(IN_IMGS)/birds.jpg -m $(IN_IMGS)/birds-mask.jpg -o $(OUT_IMGS)/vertical-birds.jpg -u --vertical
|
||||||
$(BIN) -s $(IN_IMGS)/birds.jpg -m $(IN_IMGS)/birds-mask.jpg -o $(OUT_IMGS)/horizontal-birds.jpg -u
|
$(BIN) -s $(IN_IMGS)/birds.jpg -m $(IN_IMGS)/birds-mask.jpg -o $(OUT_IMGS)/horizontal-birds.jpg -u
|
||||||
|
|
||||||
images-ign: build/seam-carving
|
images-ign: build/seam-carving images-dir
|
||||||
$(BIN) -s $(IN_IMGS)/ign-circled.png -m $(IN_IMGS)/ign-mask.jpg -o $(OUT_IMGS)/ign-maxstep3-seams.jpg -u --max-step 3 --show-seams
|
$(BIN) -s $(IN_IMGS)/ign-circled.png -m $(IN_IMGS)/ign-mask.jpg -o $(OUT_IMGS)/ign-maxstep3-seams.jpg -u --max-step 3 --show-seams
|
||||||
$(BIN) -s $(IN_IMGS)/ign-circled.png -m $(IN_IMGS)/ign-mask.jpg -o $(OUT_IMGS)/ign-maxstep3.jpg -u --max-step 3
|
$(BIN) -s $(IN_IMGS)/ign-circled.png -m $(IN_IMGS)/ign-mask.jpg -o $(OUT_IMGS)/ign-maxstep3.jpg -u --max-step 3
|
||||||
$(BIN) -s $(IN_IMGS)/ign-circled.png -m $(IN_IMGS)/ign-mask.jpg -o $(OUT_IMGS)/ign-maxstep15.jpg -u --max-step 15
|
$(BIN) -s $(IN_IMGS)/ign-circled.png -m $(IN_IMGS)/ign-mask.jpg -o $(OUT_IMGS)/ign-maxstep15.jpg -u --max-step 15
|
||||||
|
|
||||||
images-boat: build/seam-carving
|
images-boat: build/seam-carving images-dir
|
||||||
$(BIN) -s $(IN_IMGS)/boat.jpg -o $(OUT_IMGS)/boat-seams.jpg -n 350 --show-seams
|
$(BIN) -s $(IN_IMGS)/boat.jpg -o $(OUT_IMGS)/boat-seams.jpg -n 350 --show-seams
|
||||||
$(BIN) -s $(IN_IMGS)/boat.jpg -o $(OUT_IMGS)/boat.jpg -n 350
|
$(BIN) -s $(IN_IMGS)/boat.jpg -o $(OUT_IMGS)/boat.jpg -n 350
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user