# HG changeset patch # User Matti Hamalainen # Date 1423065648 -7200 # Node ID 8d909205b0fd380b4139862b3249e503b97922cc # Parent 8aa0d640af741bf5701bc3ca551418e36d1888e9 Use pkg-config for Tremor. diff -r 8aa0d640af74 -r 8d909205b0fd Makefile --- a/Makefile Wed Feb 04 17:55:38 2015 +0200 +++ b/Makefile Wed Feb 04 18:00:48 2015 +0200 @@ -15,8 +15,8 @@ SDL_TTF_CFLAGS= SDL_TTF_LDFLAGS=-lSDL_ttf -TREMOR_CFLAGS=-I/usr/local/lib/ -TREMOR_LDFLAGS=/usr/local/lib/libvorbisidec.a /usr/lib/i386-linux-gnu/libogg.a +TREMOR_CFLAGS=`pkg-config --cflags ogg` +TREMOR_LDFLAGS=/usr/lib/libvorbisidec.a `pkg-config --variable=libdir ogg`/libogg.a LIBPNG_CFLAGS=`pkg-config --cflags libpng` LIBPNG_LDFLAGS=`pkg-config --libs libpng`