generated the makefile
parent
7f8e3b6c5f
commit
1dfe4833a7
@ -1,14 +1,27 @@
|
|||||||
|
|
||||||
SOURCES = ./phc-logo.png
|
SOURCES = ./phc-logo.png
|
||||||
|
|
||||||
|
TARGETS = ./derived/phc-logo@x1.png \
|
||||||
|
./derived/phc-logo@x2.png \
|
||||||
|
./derived/phc-logo@x4.png \
|
||||||
|
./derived/phc-logo@x8.png
|
||||||
|
|
||||||
|
.PHONY: help
|
||||||
|
help:
|
||||||
|
@echo "SOURCES = $(SOURCES)"
|
||||||
|
@echo "TARGETS = $(TARGETS)"
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all: $(SOURCES)
|
all: $(TARGETS)
|
||||||
|
|
||||||
|
derived/%@x1.png: %.png Makefile
|
||||||
|
magick convert $< -scale 100% $@
|
||||||
|
|
||||||
derived/%@x1.png: %.png
|
derived/%@x2.png: %.png Makefile
|
||||||
magick convert $< -resize 100% $@
|
magick convert $< -scale 200% $@
|
||||||
|
|
||||||
derived/%@x2.png: %.png
|
derived/%@x4.png: %.png Makefile
|
||||||
magick convert $< -resize 200% $@
|
magick convert $< -scale 400% $@
|
||||||
|
|
||||||
derived/%@x4.png: %.png
|
derived/%@x8.png: %.png Makefile
|
||||||
magick convert $< -resize 400% $@
|
magick convert $< -scale 800% $@
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 844 B |
Binary file not shown.
|
After Width: | Height: | Size: 956 B |
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
Loading…
Reference in New Issue