Add Makefiles to image viewer demos

There doesn't seem to be much of a point in making it difficult
to try out Wuffs's most practical feature.
This commit is contained in:
Přemysl Eric Janouch committed 2021-09-30 12:38:32 +02:00
1 parent 6f39b9641b
commit 7ee081f4b9
2 files changed
+16

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
SHELL = /bin/sh
LDFLAGS = -lxcb -lxcb-image -lxcb-render -lxcb-render-util
all: imageviewer
clean:
rm -f imageviewer
.PHONY: all clean
+8
View File
@@ -0,0 +1,8 @@
SHELL = /bin/sh
LDFLAGS = -lSDL2 -lSDL2_image
all: sdl-imageviewer
clean:
rm -f sdl-imageviewer
.PHONY: all clean