Add a SDL_image test tool. use IMG_Load() and display

This commit is contained in:
Thomas Bernard
2018-01-12 11:14:58 +01:00
parent 8c6f89af46
commit 1c6a9e5830
3 changed files with 116 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
CFLAGS = -Wall -O -g
CFLAGS += $(shell sdl-config --cflags)
LDLIBS = $(shell sdl-config --libs)
LDLIBS += $(shell pkg-config SDL_image --libs-only-l)
LDFLAGS = $(shell pkg-config SDL_image --libs-only-L)
.PHONY: all clean
all: showimage
clean:
$(RM) showimage *.o
showimage: showimage.o