blob: 7bcb61aa79f995c2be87e25a38b59a1494347815 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/usr/bin/make -f
CC=gcc
GLIB_CFLAGS=$(shell pkg-config --cflags glib-2.0)
CFLAGS+=-I/usr/include/libpurple -DPURPLE_PLUGINS $(GLIB_CFLAGS)
CFLAGS+=-fPIC -DPIC
CFLAGS+=-Wall -g -O0
OBJECTS=nullprpl.o
TARGET=libmatrix.so
all: $(TARGET)
clean:
rm -f $(OBJECTS) $(TARGET)
install:
mkdir -p $(DESTDIR)/usr/lib/purple-2
install -m 664 $(TARGET) $(DESTDIR)/usr/lib/purple-2/
$(TARGET): $(OBJECTS)
$(LINK.o) -shared $^ $(LOADLIBES) $(LDLIBS) -o $@
|