-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
145 lines (90 loc) · 5.11 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
.PHONY: fflx
#qmk lint -kb haizeus0411/infernum -km deanbot --strict
infernum: setup
cd ~/src/qmk_firmware;
qmk flash -kb haizeus0411/infernum -km deanbot
#qmk lint -kb fingerpunch/sweeeeep/rgblight_oled -km deanbot --strict
sweeeeep: setup
cd ~/src/qmk_firmware;
qmk flash -kb fingerpunch/sweeeeep/rgblight_oled -km deanbot
# qmk lint -kb fingerpunch/ffkb/atmega/v1 -km deanbot --strict;
# RGBLIGHT_ENABLE=yes RGB_MATRIX_ENABLE=yes
ffkb: setup
cd ~/src/qmk_firmware;
make fingerpunch/ffkb/atmega/v1:deanbot PIMORONI_TRACKBALL_ENABLE=no OLED_ENABLE=no FP_EC11_CENTER=yes FP_EVQ_UNDER_PALMS=yes RGBLIGHT_ENABLE=yes
# cd ~/src/qmk_firmware;e
fflx:
cd ~/src/sadekbaroudi/qmk_firmware
make fingerpunch/fflx:deanbot CIRQUE_ENABLE=yes RGBLIGHT_ENABLE=no FP_EC11_UNDER_PALMS=no FP_EVQ_UNDER_PALMS=yes CONVERT_TO=stemcell
draculad: setup
cd ~/src/qmk_firmware;
qmk lint -kb draculad -km deanbot --strict
qmk flash -kb draculad -km deanbot
lesovoz: setup
cd ~/src/qmk_firmware;
qmk flash -kb tsquash/lesovoz -km deanbot
cannonball: setup
cd ~/src/qmk_firmware;
qmk lint -kb tarohayashi/cannonball -km deanbot --strict
qmk flash -kb tarohayashi/cannonball -km deanbot
cannonball-solo: setup
cd ~/src/qmk_firmware; qmk lint -kb tarohayashi/cannonball -km solo --strict
qmk flash -kb tarohayashi/cannonball -km solo
# rex60: setup
# cd ~/src/qmk_firmware;
# qmk lint -kb rainkeebs/oxymoron -km deanbot --strict
oxymoron: setup
cd ~/src/qmk_firmware;
qmk flash -kb rainkeebs/oxymoron -km deanbot
# qmk lint -kb ferris/0_2/bling -km deanbot --strict
ferris: setup
cd ~/src/qmk_firmware;
qmk flash -kb ferris/0_2/bling -km deanbot
# qmk flash -kb naked48 -km deanbot -bl dfu
naked48: setupDSKDSLkfl;s;SDFKsdkfl;a;D]fs'l;fksfs]fs]]]s[s[[s[[s]]]]]
cd ~/src/qmk_firmware; qmk lint -kb naked48 -km deanbot --strict
qmk flash -kb naked48 -km deanbot
# qmk lint -kb dz60 -km deanbot --strict
dz60: setup
cd ~/src/qmk_firmware;
qmk flash -kb dz60 -km deanbot
reviung41: setup
cd ~/src/qmk_firmware; qmk lint -kb reviung/reviung41 -km deanbot --strict
qmk flash -kb reviung/reviung41 -km deanbot
setup: install
test -L ~/src/qmk_firmware/users/deanbot || ln -s $(shell pwd)/user ~/src/qmk_firmware/users/deanbot
test -L ~/src/qmk_firmware/keyboards/draculad/keymaps/deanbot || ln -s $(shell pwd)/draculad ~/src/qmk_firmware/keyboards/draculad/keymaps/deanbot
test -L ~/src/qmk_firmware/keyboards/reviung/reviung41/keymaps/deanbot || ln -s $(shell pwd)/reviung41 ~/src/qmk_firmware/keyboards/reviung/reviung41/keymaps/deanbot
test -L ~/src/qmk_firmware/keyboards/salicylic_acid3/naked48/keymaps/deanbot || ln -s $(shell pwd)/naked48 ~/src/qmk_firmware/keyboards/salicylic_acid3/naked48/keymaps/deanbot
test -L ~/src/qmk_firmware/keyboards/ferris/keymaps/deanbot || ln -s $(shell pwd)/ferris ~/src/qmk_firmware/keyboards/ferris/keymaps/deanbot
test -L ~/src/qmk_firmware/keyboards/tarohayashi/cannonball/keymaps/deanbot || ln -s $(shell pwd)/cannonball ~/src/qmk_firmware/keyboards/tarohayashi/cannonball/keymaps/deanbot
test -L ~/src/qmk_firmware/keyboards/tarohayashi/cannonball/keymaps/solo || ln -s $(shell pwd)/cannonball-solo ~/src/qmk_firmware/keyboards/tarohayashi/cannonball/keymaps/solo
test -L ~/src/qmk_firmware/keyboards/tsquash/lesovoz/keymaps/deanbot || ln -s $(shell pwd)/lesovoz ~/src/qmk_firmware/keyboards/tsquash/lesovoz/keymaps/deanbot
test -L ~/src/qmk_firmware/keyboards/haizeus0411/infernum/keymaps/deanbot || ln -s $(shell pwd)/infernum ~/src/qmk_firmware/keyboards/haizeus0411/infernum/keymaps/deanbot
test -L ~/src/qmk_firmware/keyboards/fingerpunch/ffkb/atmega/v1/keymaps/deanbot || ln -s $(shell pwd)/ffkb ~/src/qmk_firmware/keyboards/fingerpunch/ffkb/atmega/v1/keymaps/deanbot
test -L ~/src/qmk_firmware/keyboards/fingerpunch/fflx/keymaps/deanbot || ln -s $(shell pwd)/fflx ~/src/qmk_firmware/keyboards/fingerpunch/fflx/keymaps/deanbot
test -L ~/src/qmk_firmware/keyboards/fingerpunch/sweeeeep/keymaps/deanbot || ln -s $(shell pwd)/sweeeeep ~/src/qmk_firmware/keyboards/fingerpunch/sweeeeep/keymaps/deanbot
test -L ~/src/qmk_firmware/keyboards/rainkeebs/oxymoron/keymaps/deanbot || ln -s $(shell pwd)/oxymoron ~/src/qmk_firmware/keyboards/rainkeebs/oxymoron/keymaps/deanbot
test -L ~/src/qmk_firmware/keyboards/dz60/keymaps/deanbot || ln -s $(shell pwd)/dz60 ~/src/qmk_firmware/keyboards/dz60/keymaps/deanbot
install:
# init submodule
# git submodule update --init --recursive
./local-install.sh
installSadek:
./local-install-sadek.sh
unlink:
rm -rf ~/src/qmk_firmware/keyboards/tarohayashi/
rm -rf ~/src/qmk_firmware/keyboards/fingerpunch/
rm -rf ~/src/qmk_firmware/keyboards/rainkeebs/oxymoron
rm -rf ~/src/qmk_firmware/keyboards/haizeus0411
rm -rf ~/src/qmk_firmware/keyboards/tsquash
rm ~/src/qmk_firmware/keyboards/draculad/keymaps/deanbot
rm ~/src/qmk_firmware/keyboards/reviung/reviung41/keymaps/deanbot
rm ~/src/qmk_firmware/keyboards/ferris/keymaps/deanbot
rm ~/src/qmk_firmware/keyboards/salicylic_acid3/naked48/keymaps/deanbot
rm ~/src/qmk_firmware/users/deanbot
clean:
rm -rf ~/src/qmk_firmware/obj_*
rm -f ~/src/qmk_firmware/*.elf
rm -f ~/src/qmk_firmware/*.map
rm -f ~/src/qmk_firmware/*.hex