From 759af0a48df36faf4ffda0d515cabcd6ffd9ee6e Mon Sep 17 00:00:00 2001 From: louis <louis.braun@gmx.de> Date: Thu, 2 Apr 2015 15:11:34 +0200 Subject: introduced libskindesignerapi --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 128e041..65c60e1 100644 --- a/Makefile +++ b/Makefile @@ -47,15 +47,14 @@ SOFILE = libvdr-$(PLUGIN).so ### Includes and Defines (add further entries here): -INCLUDES += +INCLUDES += $(shell pkg-config --cflags libskindesignerapi) +LIBS += $(shell pkg-config --libs libskindesignerapi) DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' ### The object files (add further files here): OBJS = $(PLUGIN).o \ - libskindesigner/skindesignerosdbase.o \ - libskindesigner/osdelements.o \ helpers.o \ config.o \ setup.o \ @@ -126,7 +125,7 @@ install-i18n: $(I18Nmsgs) ### Targets: $(SOFILE): $(OBJS) - $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@ + $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -o $@ install-lib: $(SOFILE) install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION) -- cgit v1.2.3