diff --git a/Makefile b/Makefile index 1a783b2..d64eae9 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,4 @@ +.PHONY: all all: make -C asset + make -C images diff --git a/images/Makefile b/images/Makefile index b92f9f8..051d1cb 100644 --- a/images/Makefile +++ b/images/Makefile @@ -1,2 +1,9 @@ -all: +.PHONY: all +all: pngcrush make -C ../asset + +.PHONY: pngcrush +pngcrush: $(addprefix crushed/, $(wildcard *.png)) + +crushed/%.png: %.png + pngcrush $< $@ diff --git a/images/crushed/background.png b/images/crushed/background.png new file mode 100644 index 0000000..8bea1f0 Binary files /dev/null and b/images/crushed/background.png differ diff --git a/images/crushed/nochmal.png b/images/crushed/nochmal.png new file mode 100644 index 0000000..f46ccfd Binary files /dev/null and b/images/crushed/nochmal.png differ diff --git a/images/crushed/sprites.png b/images/crushed/sprites.png new file mode 100644 index 0000000..4311a3f Binary files /dev/null and b/images/crushed/sprites.png differ diff --git a/images/crushed/tiles.png b/images/crushed/tiles.png new file mode 100644 index 0000000..1eb8073 Binary files /dev/null and b/images/crushed/tiles.png differ diff --git a/images/crushed/yuri-gagarin1.png b/images/crushed/yuri-gagarin1.png new file mode 100644 index 0000000..b186c10 Binary files /dev/null and b/images/crushed/yuri-gagarin1.png differ diff --git a/index.html b/index.html index 809fb74..44ea1d4 100644 --- a/index.html +++ b/index.html @@ -46,7 +46,7 @@