X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=keyboard%2Fhhkb%2FMakefile;h=89d05ba1598eea22f0deb15eac9e17fc00a26592;hb=57c6b597ead6a98ddaade97d66de55928a4fb2a2;hp=94078702c4e35f83556f823560fc7c0540f49ef2;hpb=e93188021c0b1578ffbb6e0fadcd94e1e5132dcf;p=max%2Ftmk_keyboard.git diff --git a/keyboard/hhkb/Makefile b/keyboard/hhkb/Makefile index 94078702..89d05ba1 100644 --- a/keyboard/hhkb/Makefile +++ b/keyboard/hhkb/Makefile @@ -49,10 +49,16 @@ TARGET_DIR = . # List C source files here. (C dependencies are automatically generated.) -SRC += keymap.c \ +SRC += keymap_common.c \ matrix.c \ led.c +ifdef KEYMAP + SRC := keymap_$(KEYMAP).c $(SRC) +else + SRC := keymap_hasu.c $(SRC) +endif + CONFIG_H = config.h