From 3f842cebb1cd2b0ca0c701f31245982b397aaa55 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 15 Feb 2013 14:56:14 -0800 Subject: [PATCH] Added the debian examples Makefile --- debian/examples/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 debian/examples/Makefile diff --git a/debian/examples/Makefile b/debian/examples/Makefile new file mode 100644 index 00000000..8d94bed2 --- /dev/null +++ b/debian/examples/Makefile @@ -0,0 +1,14 @@ +# Makefile for showimage + +CC = gcc +CFLAGS = $(shell sdl2-config --cflags) -Wall -O +LIBS = $(shell sdl2-config --libs) -lSDL2_image +EXE = showimage + +all: $(EXE) + +showimage: showimage.c Makefile + $(CC) -o $@ $@.c $(CFLAGS) $(LIBS) + +clean: + -rm *.o $(EXE)