Add a SDL_image test tool. use IMG_Load() and display
This commit is contained in:
18
tools/sdl_image_test/Makefile
Normal file
18
tools/sdl_image_test/Makefile
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user