Skip to content

Commit

Permalink
Added the debian examples Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Feb 15, 2013
1 parent 9dd8258 commit 3f842ce
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions 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)

0 comments on commit 3f842ce

Please sign in to comment.