diff options
author | louis <louis.braun@gmx.de> | 2013-01-27 11:20:03 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-01-27 11:20:03 +0100 |
commit | c145a916766969c9e3fef7166d09b5d95fe29c02 (patch) | |
tree | 09b79163ba5626c8b41cae134019dd336e1a54f6 /Makefile | |
parent | b5cbc3355719a0e115af7d07a8243467a8c9cd17 (diff) | |
download | skin-nopacity-c145a916766969c9e3fef7166d09b5d95fe29c02.tar.gz skin-nopacity-c145a916766969c9e3fef7166d09b5d95fe29c02.tar.bz2 |
Changed makefile to work also with newer ImageMagick versions
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -46,12 +46,14 @@ PACKAGE = vdr-$(ARCHIVE) SOFILE = libvdr-$(PLUGIN).so -### Includes and Defines (add further entries here): +### Includes and Defines and Dependencies (add further entries here): -INCLUDES += -I/usr/include/ImageMagick +INCLUDES += $(shell pkg-config --cflags-only-I Magick++) DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' +LIBS += $(shell pkg-config --libs Magick++) + ### The object files (add further files here): OBJS = $(PLUGIN).o @@ -103,7 +105,7 @@ install-i18n: $(I18Nmsgs) ### Targets: $(SOFILE): $(OBJS) - $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -lMagick++ -o $@ + $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -o $@ install-lib: $(SOFILE) install -D $^ $(LIBDIR)/$^.$(APIVERSION) |