diff options
author | Jack Humbert <jack.humb@gmail.com> | 2015-10-27 14:33:18 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2015-10-27 14:33:18 -0400 |
commit | 6f3141965e88c4ee0ebf7c18a243e4c2d9c5021b (patch) | |
tree | b9de5704143ac205b4e26222f9d7551e9b161924 /quantum/quantum.mk | |
parent | d35402938f45d36b6f0afed758737742dba88fa7 (diff) | |
download | qmk_firmware-6f3141965e88c4ee0ebf7c18a243e4c2d9c5021b.tar.gz qmk_firmware-6f3141965e88c4ee0ebf7c18a243e4c2d9c5021b.zip |
new project script
Diffstat (limited to 'quantum/quantum.mk')
-rw-r--r-- | quantum/quantum.mk | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/quantum/quantum.mk b/quantum/quantum.mk new file mode 100644 index 0000000000..c82e478725 --- /dev/null +++ b/quantum/quantum.mk @@ -0,0 +1,30 @@ +QUANTUM_DIR = quantum + +# # project specific files +SRC += $(QUANTUM_DIR)/keymap_common.c \ + $(QUANTUM_DIR)/led.c + +ifndef CUSTOM_MATRIX + SRC += $(QUANTUM_DIR)/matrix.c +endif + +ifdef MIDI_ENABLE + SRC += $(QUANTUM_DIR)/keymap_midi.c \ + $(QUANTUM_DIR)/beeps.c +endif + +ifdef UNICODE_ENABLE + SRC += $(QUANTUM_DIR)/keymap_unicode.c +endif + +# Optimize size but this may cause error "relocation truncated to fit" +#EXTRALDFLAGS = -Wl,--relax + +# Search Path +VPATH += $(TOP_DIR)/$(QUANTUM_DIR) + +include $(TMK_DIR)/protocol/lufa.mk + +include $(TMK_DIR)/common.mk +include $(TMK_DIR)/rules.mk + |