aboutsummaryrefslogblamecommitdiffstats
path: root/Makefile
blob: 97b88e939e56466611e4ba805a10526c12699d1d (plain) (tree)
1
2
3
4
5
6
7
8
9


                  
                                  

                     
                                               
                   
                                             
                     
 


                                                                               

                   
                       
#!/usr/bin/make -f

CC=gcc
LIBS=purple json-glib-1.0 glib-2.0

PKG_CONFIG=pkg-config
CFLAGS+=$(shell $(PKG_CONFIG) --cflags $(LIBS))
CFLAGS+=-fPIC -DPIC
LDLIBS+=$(shell $(PKG_CONFIG) --libs $(LIBS))
LDLIBS+=-lhttp_parser

PLUGIN_DIR_PURPLE	=  $(shell $(PKG_CONFIG) --variable=plugindir purple)
DATA_ROOT_DIR_PURPLE	=  $(shell $(PKG_CONFIG) --variable=datarootdir purple)

TARGET=libmatrix.so

include Makefile.common