blob: 9ae04e0215634b855430a373d1e1e7b6179cc69c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
GEANY_PLUGIN_DIR = ~/.config/geany/plugins
PLUGIN_FILE = zeitgeist_dataprovider.so
all: clean build
zeitgeist_dataprovider.o:
gcc -c zeitgeist_dataprovider.c -fPIC `pkg-config --cflags geany zeitgeist-1.0`
zeitgeist_dataprovider.so:
gcc zeitgeist_dataprovider.o -o zeitgeist_dataprovider.so -shared `pkg-config --libs geany zeitgeist-1.0`
build: zeitgeist_dataprovider.o zeitgeist_dataprovider.so
clean:
-rm -f *.o
-rm -f *.so
install: ;
uninstall: ;
local-install:
mkdir -p $(GEANY_PLUGIN_DIR)
cp $(PLUGIN_FILE) $(GEANY_PLUGIN_DIR)
local-uninstall:
-rm -f $(GEANY_PLUGIN_DIR)/$(PLUGIN_FILE)
|