diff options
| author | Lizzy Fleckenstein <lizzy@vlhl.dev> | 2026-03-31 02:37:31 +0200 |
|---|---|---|
| committer | Lizzy Fleckenstein <lizzy@vlhl.dev> | 2026-03-31 02:38:05 +0200 |
| commit | b63943cc27cb06342d08879b57c08902e0850581 (patch) | |
| tree | 72ad691b2b13ab8e8cbd249a86654716800e6208 /Makefile | |
| parent | a62496259236100af351040606e4ff3c3cf7fdd1 (diff) | |
| download | usermoji-mommy.tar.xz | |
add makefile and readmemommy
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..c3ce4464 --- /dev/null +++ b/Makefile @@ -0,0 +1,25 @@ +USERS != ls plain | xargs basename -s .png + +all: cube thoughts petpet + +out/cube/%cube.gif: plain/%.png mkcube tools/Vulkan-Tools/ Makefile | out/cube/ + ./mkcube $< $@ + +out/petpet/pet_%.gif: plain/%.png tools/petpet/ Makefile | out/petpet/ + ./tools/petpet/init.js $< $@ + +out/thoughts/%thoughts.png: plain/%.png mkthoughts thoughts/ Makefile | out/thoughts/ + ./mkthoughts $< $@ $$(grep "^$$(basename -s .png $<) " thoughts/colors.txt | cut -d' ' -f 2) + +out/%/: + mkdir -p $@ + +cube: $(patsubst %, out/cube/%cube.gif, $(USERS)) +petpet: $(patsubst %, out/petpet/pet_%.gif, $(USERS)) +thoughts: $(patsubst %, out/thoughts/%thoughts.png, $(USERS)) + +clean: + rm -rf out + +.PHONY: all cube thoughts petpet +.NOTPARALLEL: cube |
