-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile
44 lines (32 loc) · 1.02 KB
/
Makefile
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
default:
@echo Help:
@echo make install
@echo make debug
@echo make dist
@echo make clean
build:
#test-c
gcc `pkg-config --cflags gdk-3.0` -o lab/test_c_gdk_modifiers lab/test_c_gdk_modifiers.c `pkg-config --libs gdk-3.0`
gcc `pkg-config --cflags gtk+-3.0` -o lab/test_c_gtk_modifiers lab/test_c_gtk_modifiers.c `pkg-config --libs gtk+-3.0`
install:
mkdir -p ~/.local/share/gnome-shell/extensions/keyboard_modifiers_status@sneetsher/
cp ./*.js* ./*.css ~/.local/share/gnome-shell/extensions/keyboard_modifiers_status@sneetsher/
test: test-js
clean: dist-clean
rm lab/test_c_gdk_modifiers
rm lab/test_c_gtk_modifiers
dist-clean:
rm package/[email protected] || echo skipped
dist: dist-clean
mkdir -p package
zip -j package/[email protected] ./*.js* ./*.css
test-js:
gjs ./lab/test_gjs_gdk_modifiers.js
test-py:
python3 ./lab/test_py_gdk_modifiers.py
test-c:
./lab/test_c_gdk_modifiers
test-c-gtk:
./lab/test_c_gtk_modifiers
debug:
journalctl -f -o cat /usr/bin/gnome-shell