-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
20 lines (15 loc) · 982 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
ergodox_ez_neo-oberien.hex: build/qmk_firmware/.build/ergodox_ez_neo-oberien.hex
mv build/qmk_firmware/.build/ergodox_ez_neo-oberien.hex .
build/qmk_firmware/.build/ergodox_ez_neo-oberien.hex: build/qmk_firmware/keyboards/ergodox_ez/keymaps/neo-oberien
make -C build/qmk_firmware ergodox_ez:neo-oberien
build/qmk_firmware/keyboards/ergodox_ez/keymaps/neo-oberien: build/qmk_firmware $(shell find src -type f)
cp -Tr src build/qmk_firmware/keyboards/ergodox_ez/keymaps/neo-oberien
build/qmk_firmware: build
git clone --recurse-submodules --depth 1 --shallow-submodules --branch 0.12.43 https://github.com/qmk/qmk_firmware/ build/qmk_firmware
sudo pacman -S --needed base-devel gcc unzip wget zip avr-gcc avr-binutils avr-libc dfu-util arm-none-eabi-gcc arm-none-eabi-binutils arm-none-eabi-newlib git dfu-programmer dfu-util
pikaur -S --needed zsa-wally
sh build/qmk_firmware/util/qmk_install.sh
build:
mkdir build
clean:
rm -rf .build build ergodox_ez_neo-oberien.hex