summaryrefslogtreecommitdiff
path: root/keyboard/infinity/Makefile
diff options
context:
space:
mode:
authorJun Wako <wakojun@gmail.com>2015-03-05 10:38:18 +0900
committerJun Wako <wakojun@gmail.com>2015-03-05 10:38:18 +0900
commitc35c4283b9c2c65d62fe8dc5e4b7ca49a8f5af33 (patch)
treeb6e2903555f6570fa37a3e90de449dd62a2fa16c /keyboard/infinity/Makefile
parentabf482de8e62880f27c377c2bdbcb664fda0df0b (diff)
infinity: For production model and add SpaceFn
Diffstat (limited to 'keyboard/infinity/Makefile')
-rw-r--r--keyboard/infinity/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/keyboard/infinity/Makefile b/keyboard/infinity/Makefile
index 758296f335..e33c239afb 100644
--- a/keyboard/infinity/Makefile
+++ b/keyboard/infinity/Makefile
@@ -12,11 +12,16 @@ OBJDIR = ./build
OBJECTS = \
$(OBJDIR)/matrix.o \
- $(OBJDIR)/keymap.o \
$(OBJDIR)/keymap_common.o \
$(OBJDIR)/led.o \
$(OBJDIR)/main.o
+ifdef KEYMAP
+ OBJECTS := $(OBJDIR)/keymap_$(KEYMAP).o $(OBJECTS)
+else
+ OBJECTS := $(OBJDIR)/keymap.o $(OBJECTS)
+endif
+
CONFIG_H = config.h
INCLUDE_PATHS = -I.