16 lines
473 B
Makefile
16 lines
473 B
Makefile
KEYMAP = Ethylily
|
|
QMK_PATH = splitkb/aurora/lily58
|
|
CONTROLLER = liatris
|
|
|
|
.PHONY: clean
|
|
|
|
build:
|
|
git submodule update --init --recursive
|
|
rm -rf qmk_firmware/keyboards/${QMK_PATH}/keymaps/${KEYMAP}
|
|
ln -s ${shell pwd}/keymap qmk_firmware/keyboards/${QMK_PATH}/keymaps/${KEYMAP}
|
|
cd qmk_firmware; \
|
|
qmk compile -e BUILD_DIR=../build -e CONVERT_TO=${CONTROLLER} -kb ${QMK_PATH} -km ${KEYMAP}
|
|
rm -rf qmk_firmware/keyboards/${QMK_PATH}/keymaps/${KEYMAP}
|
|
|
|
clean:
|
|
rm -rf build
|