From 34c25eab5d1258d8b51e2c7963fdab03408b8eb2 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Tue, 14 Aug 2012 15:31:00 +0200 Subject: preliminary SDL_image integration --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 00f72ad..a639132 100644 --- a/Makefile +++ b/Makefile @@ -3,9 +3,12 @@ CC := gcc SDL_CFLAGS := $(shell sdl-config --cflags) SDL_LDFLAGS := $(shell sdl-config --libs) +SDL_IMAGE_CFLAGS := $(shell pkg-config SDL_image --cflags) +SDL_IMAGE_LDFLAGS := $(shell pkg-config SDL_image --libs) + CFLAGS := -std=c99 -Wall -g -O0 \ - $(SDL_CFLAGS) -LDFLAGS := $(SDL_LDFLAGS) + $(SDL_CFLAGS) $(SDL_IMAGE_CFLAGS) +LDFLAGS := $(SDL_LDFLAGS) $(SDL_IMAGE_LDFLAGS) all : effect-pad -- cgit v1.2.3