diff options
| author | Polesznyák Márk <contact@pml68.dev> | 2026-04-06 23:44:45 +0200 |
|---|---|---|
| committer | Polesznyák Márk <contact@pml68.dev> | 2026-04-06 23:44:45 +0200 |
| commit | 6637fdded6f3c5fba7e7a378ca7e30d0db11f27d (patch) | |
| tree | 40f8868ae2140680645b1f90f4a1fc2a378920b3 /vendor/hare-sdl2/Makefile | |
| parent | docs: add README (diff) | |
| parent | Add ! after c::fromstr calls to handle nomem (diff) | |
| download | hare-chip8-6637fdded6f3c5fba7e7a378ca7e30d0db11f27d.tar.gz | |
Add 'vendor/hare-sdl2/' from commit 'fb6008be0b79a2a24b1ac960316a83f7873b4f39'
git-subtree-dir: vendor/hare-sdl2
git-subtree-mainline: ed088aa81ac23fa48d5ae48ee739c97e0fcb4490
git-subtree-split: fb6008be0b79a2a24b1ac960316a83f7873b4f39
Diffstat (limited to 'vendor/hare-sdl2/Makefile')
| -rw-r--r-- | vendor/hare-sdl2/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/vendor/hare-sdl2/Makefile b/vendor/hare-sdl2/Makefile new file mode 100644 index 0000000..5f44fee --- /dev/null +++ b/vendor/hare-sdl2/Makefile @@ -0,0 +1,22 @@ +.POSIX: +.SUFFIXES: + +LIBS=-lc -lSDL2_image -lSDL2_mixer -lSDL2 + +demo: + hare build $(LIBS) cmd/demo + +run: + hare run $(LIBS) cmd/demo + +clean: + rm -rf docs demo + +docs: + mkdir -p docs/sdl2/image + haredoc -Fhtml sdl2 > docs/sdl2/index.html + haredoc -Fhtml sdl2::image > docs/sdl2/image/index.html + mkdir -p docs/sdl2/mixer + haredoc -Fhtml sdl2::mixer > docs/sdl2/mixer/index.html + +.PHONY: clean demo docs run |
