Added the debian examples Makefile
authorSam Lantinga <slouken@libsdl.org>
Fri, 15 Feb 2013 14:56:14 -0800
changeset 3485661d8715c78
parent 347 ad5034cad524
child 349 65d8b29e1af3
Added the debian examples Makefile
debian/examples/Makefile
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/debian/examples/Makefile	Fri Feb 15 14:56:14 2013 -0800
     1.3 @@ -0,0 +1,14 @@
     1.4 +# Makefile for showimage
     1.5 +
     1.6 +CC = gcc
     1.7 +CFLAGS = $(shell sdl2-config --cflags) -Wall -O
     1.8 +LIBS = $(shell sdl2-config --libs) -lSDL2_image
     1.9 +EXE = showimage
    1.10 +
    1.11 +all: $(EXE)
    1.12 +
    1.13 +showimage: showimage.c Makefile
    1.14 +	$(CC) -o $@ $@.c $(CFLAGS) $(LIBS)
    1.15 +
    1.16 +clean:
    1.17 +	-rm *.o $(EXE)