From c5858084324e7d57a644436f09c9c3c25bad5116 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ka=E2=80=99imi?= Date: Fri, 9 Apr 2021 16:31:28 +0200 Subject: [PATCH] Makefile cleanup --- README.md | 5 +++-- keyboard/ergodox/Makefile.pjrc | 18 ------------------ 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index dbda9b2d2e..7a28536eb4 100644 --- a/README.md +++ b/README.md @@ -117,9 +117,10 @@ Building from Source 0. Do the prerequisite stuff in the [build doc](doc/build.md). 1. `git clone https://github.com/kaimi/tmk_keyboard`. 2. `cd tmk_keyboard/keyboard/ergodox`. -3. `make neo`. +3. `make clean`, just to be sure. +3. `KEYMAP=neo make -f Makefile.pjrc`. 4. Either flash manually using teensy loader or (with `teensy_loader_cli` in - your PATH) run `make teensy`. + your PATH) run `KEYMAP=neo make -f Makefile.pjrc teensy`. Problems -------- diff --git a/keyboard/ergodox/Makefile.pjrc b/keyboard/ergodox/Makefile.pjrc index 2b191f5f30..f6db4ea473 100644 --- a/keyboard/ergodox/Makefile.pjrc +++ b/keyboard/ergodox/Makefile.pjrc @@ -106,21 +106,3 @@ include $(TMK_DIR)/protocol.mk include $(TMK_DIR)/protocol/pjrc.mk include $(TMK_DIR)/common.mk include $(TMK_DIR)/rules.mk - -dvorak: OPT_DEFS += -DKEYMAP_DVORAK -dvorak: all - -colemak: OPT_DEFS += -DKEYMAP_COLEMAK -colemak: all - -neo: OPT_DEFS += -DKEYMAP_NEO -neo: all - -workman: OPT_DEFS += -DKEYMAP_WORKMAN -workman: all - -micro: OPT_DEFS += -DKEYMAP_MICRO -micro: all - -cub: OPT_DEFS += -DKEYMAP_CUB -cub: all