New comit of SDL2
[supertux.git] / src / SDL2 / debian / examples / Makefile
1 # Makefile for showimage
2
3 CC = gcc
4 CFLAGS = $(shell sdl2-config --cflags) -Wall -O
5 LIBS = $(shell sdl2-config --libs) -lSDL2_image
6 EXE = showimage
7
8 all: $(EXE)
9
10 showimage: showimage.c Makefile
11         $(CC) -o $@ $@.c $(CFLAGS) $(LIBS)
12
13 clean:
14         -rm *.o $(EXE)