generated the makefile

This commit is contained in:
2024-11-21 12:24:05 +01:00
parent 7f8e3b6c5f
commit 1dfe4833a7
6 changed files with 27 additions and 8 deletions
+20 -7
View File
@@ -1,14 +1,27 @@
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
all: $(SOURCES)
all: $(TARGETS)
derived/%@x1.png: %.png
magick convert $< -resize 100% $@
derived/%@x1.png: %.png Makefile
magick convert $< -scale 100% $@
derived/%@x2.png: %.png
magick convert $< -resize 200% $@
derived/%@x2.png: %.png Makefile
magick convert $< -scale 200% $@
derived/%@x4.png: %.png
magick convert $< -resize 400% $@
derived/%@x4.png: %.png Makefile
magick convert $< -scale 400% $@
derived/%@x8.png: %.png Makefile
magick convert $< -scale 800% $@
+7 -1
View File
@@ -2,4 +2,10 @@
Repo con vari loghi del PHC.
<img src="./phc-logo.png" alt="phc logo" />
<img src="./derived/phc-logo@x1.png" alt="phc logo" max-width="80%" />
<img src="./derived/phc-logo@x2.png" alt="phc logo" max-width="80%" />
<img src="./derived/phc-logo@x4.png" alt="phc logo" max-width="80%" />
<img src="./derived/phc-logo@x8.png" alt="phc logo" max-width="80%" />
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