diff options
| -rw-r--r-- | adb_usb/Makefile | 8 | ||||
| -rw-r--r-- | common.mk | 5 | ||||
| -rw-r--r--[-rwxr-xr-x] | common/mousekey.c | 0 | ||||
| -rw-r--r-- | hbk/Makefile | 8 | ||||
| -rw-r--r-- | hhkb/Makefile.iwrap | 10 | ||||
| -rw-r--r-- | hhkb/Makefile.pjrc | 8 | ||||
| -rw-r--r-- | hhkb/Makefile.vusb | 8 | ||||
| -rw-r--r--[-rwxr-xr-x] | hhkb/doc/Bluetooth_img/BT_circuit.jpg | bin | 502118 -> 502118 bytes | |||
| -rw-r--r-- | m0110_usb/Makefile | 8 | ||||
| -rw-r--r-- | macway/Makefile | 8 | ||||
| -rw-r--r-- | protocol/iwrap.mk | 2 | ||||
| -rw-r--r-- | protocol/pjrc.mk | 2 | ||||
| -rw-r--r-- | protocol/vusb.mk | 2 | ||||
| -rw-r--r-- | ps2_usb/Makefile | 8 | ||||
| -rw-r--r-- | ps2_usb/Makefile.pjrc_usart | 8 | ||||
| -rw-r--r-- | ps2_usb/Makefile.vusb | 8 | ||||
| -rw-r--r-- | rules.mk | 12 | ||||
| -rw-r--r-- | sony_usb/Makefile.pjrc | 8 | ||||
| -rw-r--r-- | terminal_usb/Makefile.102_pjrc | 8 | ||||
| -rw-r--r-- | terminal_usb/Makefile.122_pjrc | 8 | ||||
| -rw-r--r-- | x68k_usb/Makefile | 8 |
21 files changed, 84 insertions, 53 deletions
diff --git a/adb_usb/Makefile b/adb_usb/Makefile index f4c5031cb..97850b0e8 100644 --- a/adb_usb/Makefile +++ b/adb_usb/Makefile | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | TARGET = adb_usb | 2 | TARGET = adb_usb |
| 3 | 3 | ||
| 4 | # Directory common source filess exist | 4 | # Directory common source filess exist |
| 5 | COMMON_DIR = .. | 5 | TOP_DIR = .. |
| 6 | 6 | ||
| 7 | # Directory keyboard dependent files exist | 7 | # Directory keyboard dependent files exist |
| 8 | TARGET_DIR = . | 8 | TARGET_DIR = . |
| @@ -48,5 +48,7 @@ PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex | |||
| 48 | 48 | ||
| 49 | 49 | ||
| 50 | 50 | ||
| 51 | include $(COMMON_DIR)/pjrc.mk | 51 | include $(TOP_DIR)/protocol/pjrc.mk |
| 52 | include $(COMMON_DIR)/common.mk | 52 | include $(TOP_DIR)/protocol.mk |
| 53 | include $(TOP_DIR)/common.mk | ||
| 54 | include $(TOP_DIR)/rules.mk | ||
| @@ -33,7 +33,4 @@ ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE) | |||
| 33 | endif | 33 | endif |
| 34 | 34 | ||
| 35 | # Search Path | 35 | # Search Path |
| 36 | VPATH += $(COMMON_DIR) | 36 | VPATH += $(TOP_DIR)/common |
| 37 | |||
| 38 | |||
| 39 | include $(COMMON_DIR)/rules.mk | ||
diff --git a/common/mousekey.c b/common/mousekey.c index 76bd0fd36..76bd0fd36 100755..100644 --- a/common/mousekey.c +++ b/common/mousekey.c | |||
diff --git a/hbk/Makefile b/hbk/Makefile index e03b45e3a..c441e2d7a 100644 --- a/hbk/Makefile +++ b/hbk/Makefile | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | TARGET = hbk | 2 | TARGET = hbk |
| 3 | 3 | ||
| 4 | # Directory common source filess exist | 4 | # Directory common source filess exist |
| 5 | COMMON_DIR = .. | 5 | TOP_DIR = .. |
| 6 | 6 | ||
| 7 | # Directory keyboard dependent files exist | 7 | # Directory keyboard dependent files exist |
| 8 | TARGET_DIR = . | 8 | TARGET_DIR = . |
| @@ -50,5 +50,7 @@ PROGRAM_CMD = /opt/dfu-programmer-0.5.2/bin/dfu-programmer $(MCU) erase && \ | |||
| 50 | 50 | ||
| 51 | 51 | ||
| 52 | 52 | ||
| 53 | include $(COMMON_DIR)/pjrc.mk | 53 | include $(TOP_DIR)/protocol/pjrc.mk |
| 54 | include $(COMMON_DIR)/common.mk | 54 | include $(TOP_DIR)/protocol.mk |
| 55 | include $(TOP_DIR)/common.mk | ||
| 56 | include $(TOP_DIR)/rules.mk | ||
diff --git a/hhkb/Makefile.iwrap b/hhkb/Makefile.iwrap index cf020b94a..d922b0f50 100644 --- a/hhkb/Makefile.iwrap +++ b/hhkb/Makefile.iwrap | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | TARGET = hhkb_iwrap | 7 | TARGET = hhkb_iwrap |
| 8 | 8 | ||
| 9 | # Directory common source filess exist | 9 | # Directory common source filess exist |
| 10 | COMMON_DIR = .. | 10 | TOP_DIR = .. |
| 11 | 11 | ||
| 12 | # Directory keyboard dependent files exist | 12 | # Directory keyboard dependent files exist |
| 13 | TARGET_DIR = . | 13 | TARGET_DIR = . |
| @@ -85,7 +85,9 @@ PROGRAM_CMD = $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE | |||
| 85 | # Search Path | 85 | # Search Path |
| 86 | VPATH = $(TARGET_DIR) | 86 | VPATH = $(TARGET_DIR) |
| 87 | 87 | ||
| 88 | include $(COMMON_DIR)/iwrap.mk | 88 | include $(TOP_DIR)/protocol/iwrap.mk |
| 89 | # To be swatchable btween Bluetooth and USB. Comment out if you don't need USB. | 89 | # To be swatchable btween Bluetooth and USB. Comment out if you don't need USB. |
| 90 | include $(COMMON_DIR)/vusb.mk | 90 | include $(TOP_DIR)/protocol/vusb.mk |
| 91 | include $(COMMON_DIR)/common.mk | 91 | include $(TOP_DIR)/protocol.mk |
| 92 | include $(TOP_DIR)/common.mk | ||
| 93 | include $(TOP_DIR)/rules.mk | ||
diff --git a/hhkb/Makefile.pjrc b/hhkb/Makefile.pjrc index 17aa865dd..28b6b589d 100644 --- a/hhkb/Makefile.pjrc +++ b/hhkb/Makefile.pjrc | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | TARGET = hhkb_pjrc | 7 | TARGET = hhkb_pjrc |
| 8 | 8 | ||
| 9 | # Directory common source filess exist | 9 | # Directory common source filess exist |
| 10 | COMMON_DIR = .. | 10 | TOP_DIR = .. |
| 11 | 11 | ||
| 12 | # Directory keyboard dependent files exist | 12 | # Directory keyboard dependent files exist |
| 13 | TARGET_DIR = . | 13 | TARGET_DIR = . |
| @@ -54,5 +54,7 @@ PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex | |||
| 54 | # Search Path | 54 | # Search Path |
| 55 | VPATH = $(TARGET_DIR) | 55 | VPATH = $(TARGET_DIR) |
| 56 | 56 | ||
| 57 | include $(COMMON_DIR)/pjrc.mk | 57 | include $(TOP_DIR)/protocol/pjrc.mk |
| 58 | include $(COMMON_DIR)/common.mk | 58 | include $(TOP_DIR)/protocol.mk |
| 59 | include $(TOP_DIR)/common.mk | ||
| 60 | include $(TOP_DIR)/rules.mk | ||
diff --git a/hhkb/Makefile.vusb b/hhkb/Makefile.vusb index 371b36690..734b73a02 100644 --- a/hhkb/Makefile.vusb +++ b/hhkb/Makefile.vusb | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | TARGET = hhkb_vusb | 7 | TARGET = hhkb_vusb |
| 8 | 8 | ||
| 9 | # Directory common source filess exist | 9 | # Directory common source filess exist |
| 10 | COMMON_DIR = .. | 10 | TOP_DIR = .. |
| 11 | 11 | ||
| 12 | # Directory keyboard dependent files exist | 12 | # Directory keyboard dependent files exist |
| 13 | TARGET_DIR = . | 13 | TARGET_DIR = . |
| @@ -85,5 +85,7 @@ PROGRAM_CMD = $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE | |||
| 85 | # Search Path | 85 | # Search Path |
| 86 | VPATH = $(TARGET_DIR) | 86 | VPATH = $(TARGET_DIR) |
| 87 | 87 | ||
| 88 | include $(COMMON_DIR)/vusb.mk | 88 | include $(TOP_DIR)/protocol/vusb.mk |
| 89 | include $(COMMON_DIR)/common.mk | 89 | include $(TOP_DIR)/protocol.mk |
| 90 | include $(TOP_DIR)/common.mk | ||
| 91 | include $(TOP_DIR)/rules.mk | ||
diff --git a/hhkb/doc/Bluetooth_img/BT_circuit.jpg b/hhkb/doc/Bluetooth_img/BT_circuit.jpg index 2e5a25e81..2e5a25e81 100755..100644 --- a/hhkb/doc/Bluetooth_img/BT_circuit.jpg +++ b/hhkb/doc/Bluetooth_img/BT_circuit.jpg | |||
| Binary files differ | |||
diff --git a/m0110_usb/Makefile b/m0110_usb/Makefile index fccfaa521..e4fa526c5 100644 --- a/m0110_usb/Makefile +++ b/m0110_usb/Makefile | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | TARGET = m0110 | 2 | TARGET = m0110 |
| 3 | 3 | ||
| 4 | # Directory common source filess exist | 4 | # Directory common source filess exist |
| 5 | COMMON_DIR = .. | 5 | TOP_DIR = .. |
| 6 | 6 | ||
| 7 | # Directory keyboard dependent files exist | 7 | # Directory keyboard dependent files exist |
| 8 | TARGET_DIR = . | 8 | TARGET_DIR = . |
| @@ -48,8 +48,10 @@ PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex | |||
| 48 | 48 | ||
| 49 | 49 | ||
| 50 | 50 | ||
| 51 | include $(COMMON_DIR)/pjrc.mk | 51 | include $(TOP_DIR)/protocol/pjrc.mk |
| 52 | include $(COMMON_DIR)/common.mk | 52 | include $(TOP_DIR)/protocol.mk |
| 53 | include $(TOP_DIR)/common.mk | ||
| 54 | include $(TOP_DIR)/rules.mk | ||
| 53 | 55 | ||
| 54 | hasu: EXTRAFLAGS += -DHASU | 56 | hasu: EXTRAFLAGS += -DHASU |
| 55 | hasu: all | 57 | hasu: all |
diff --git a/macway/Makefile b/macway/Makefile index b8b0a85e1..83d31b674 100644 --- a/macway/Makefile +++ b/macway/Makefile | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | TARGET = macway | 2 | TARGET = macway |
| 3 | 3 | ||
| 4 | # Directory common source filess exist | 4 | # Directory common source filess exist |
| 5 | COMMON_DIR = .. | 5 | TOP_DIR = .. |
| 6 | 6 | ||
| 7 | # Directory keyboard dependent files exist | 7 | # Directory keyboard dependent files exist |
| 8 | TARGET_DIR = . | 8 | TARGET_DIR = . |
| @@ -47,5 +47,7 @@ PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex | |||
| 47 | 47 | ||
| 48 | 48 | ||
| 49 | 49 | ||
| 50 | include $(COMMON_DIR)/pjrc.mk | 50 | include $(TOP_DIR)/protocol/pjrc.mk |
| 51 | include $(COMMON_DIR)/common.mk | 51 | include $(TOP_DIR)/protocol.mk |
| 52 | include $(TOP_DIR)/common.mk | ||
| 53 | include $(TOP_DIR)/rules.mk | ||
diff --git a/protocol/iwrap.mk b/protocol/iwrap.mk index ea4a6e972..d9906fd1b 100644 --- a/protocol/iwrap.mk +++ b/protocol/iwrap.mk | |||
| @@ -7,4 +7,4 @@ SRC += iwrap.c \ | |||
| 7 | 7 | ||
| 8 | 8 | ||
| 9 | # Search Path | 9 | # Search Path |
| 10 | VPATH += $(COMMON_DIR)/iwrap | 10 | VPATH += $(TOP_DIR)/protocol/iwrap |
diff --git a/protocol/pjrc.mk b/protocol/pjrc.mk index e13a809a1..1ee45e9ec 100644 --- a/protocol/pjrc.mk +++ b/protocol/pjrc.mk | |||
| @@ -8,7 +8,7 @@ SRC += pjrc.c \ | |||
| 8 | 8 | ||
| 9 | 9 | ||
| 10 | # Search Path | 10 | # Search Path |
| 11 | VPATH += $(COMMON_DIR):$(COMMON_DIR)/pjrc | 11 | VPATH += $(TOP_DIR)/protocol/pjrc |
| 12 | 12 | ||
| 13 | 13 | ||
| 14 | # Option modules | 14 | # Option modules |
diff --git a/protocol/vusb.mk b/protocol/vusb.mk index 9426efb25..9e8e1fb39 100644 --- a/protocol/vusb.mk +++ b/protocol/vusb.mk | |||
| @@ -16,4 +16,4 @@ endif | |||
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | # Search Path | 18 | # Search Path |
| 19 | VPATH += $(COMMON_DIR)/vusb:$(COMMON_DIR)/vusb/usbdrv | 19 | VPATH += $(TOP_DIR)/protocol/vusb:$(TOP_DIR)/protocol/vusb/usbdrv |
diff --git a/ps2_usb/Makefile b/ps2_usb/Makefile index f003aea01..515e6899f 100644 --- a/ps2_usb/Makefile +++ b/ps2_usb/Makefile | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | TARGET = ps2_usb_pjrc | 7 | TARGET = ps2_usb_pjrc |
| 8 | 8 | ||
| 9 | # Directory common source filess exist | 9 | # Directory common source filess exist |
| 10 | COMMON_DIR = .. | 10 | TOP_DIR = .. |
| 11 | 11 | ||
| 12 | # Directory keyboard dependent files exist | 12 | # Directory keyboard dependent files exist |
| 13 | TARGET_DIR = . | 13 | TARGET_DIR = . |
| @@ -52,5 +52,7 @@ PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex | |||
| 52 | 52 | ||
| 53 | 53 | ||
| 54 | 54 | ||
| 55 | include $(COMMON_DIR)/pjrc.mk | 55 | include $(TOP_DIR)/protocol/pjrc.mk |
| 56 | include $(COMMON_DIR)/common.mk | 56 | include $(TOP_DIR)/protocol.mk |
| 57 | include $(TOP_DIR)/common.mk | ||
| 58 | include $(TOP_DIR)/rules.mk | ||
diff --git a/ps2_usb/Makefile.pjrc_usart b/ps2_usb/Makefile.pjrc_usart index e620e66c2..2e570e710 100644 --- a/ps2_usb/Makefile.pjrc_usart +++ b/ps2_usb/Makefile.pjrc_usart | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | TARGET = ps2_usb_pjrc_usart | 7 | TARGET = ps2_usb_pjrc_usart |
| 8 | 8 | ||
| 9 | # Directory common source filess exist | 9 | # Directory common source filess exist |
| 10 | COMMON_DIR = .. | 10 | TOP_DIR = .. |
| 11 | 11 | ||
| 12 | # Directory keyboard dependent files exist | 12 | # Directory keyboard dependent files exist |
| 13 | TARGET_DIR = . | 13 | TARGET_DIR = . |
| @@ -52,5 +52,7 @@ PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex | |||
| 52 | 52 | ||
| 53 | 53 | ||
| 54 | 54 | ||
| 55 | include $(COMMON_DIR)/pjrc.mk | 55 | include $(TOP_DIR)/protocol/pjrc.mk |
| 56 | include $(COMMON_DIR)/common.mk | 56 | include $(TOP_DIR)/protocol.mk |
| 57 | include $(TOP_DIR)/common.mk | ||
| 58 | include $(TOP_DIR)/rules.mk | ||
diff --git a/ps2_usb/Makefile.vusb b/ps2_usb/Makefile.vusb index 5b6978f01..d85f1d55d 100644 --- a/ps2_usb/Makefile.vusb +++ b/ps2_usb/Makefile.vusb | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | TARGET = ps2_usb_vusb | 7 | TARGET = ps2_usb_vusb |
| 8 | 8 | ||
| 9 | # Directory common source filess exist | 9 | # Directory common source filess exist |
| 10 | COMMON_DIR = .. | 10 | TOP_DIR = .. |
| 11 | 11 | ||
| 12 | # Directory keyboard dependent files exist | 12 | # Directory keyboard dependent files exist |
| 13 | TARGET_DIR = . | 13 | TARGET_DIR = . |
| @@ -86,5 +86,7 @@ PROGRAM_CMD = $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE | |||
| 86 | 86 | ||
| 87 | 87 | ||
| 88 | 88 | ||
| 89 | include $(COMMON_DIR)/vusb.mk | 89 | include $(TOP_DIR)/protocol/vusb.mk |
| 90 | include $(COMMON_DIR)/common.mk | 90 | include $(TOP_DIR)/protocol.mk |
| 91 | include $(TOP_DIR)/common.mk | ||
| 92 | include $(TOP_DIR)/rules.mk | ||
| @@ -121,7 +121,9 @@ CFLAGS += -Wstrict-prototypes | |||
| 121 | CFLAGS += -Wa,-adhlns=$(@:%.o=%.lst) | 121 | CFLAGS += -Wa,-adhlns=$(@:%.o=%.lst) |
| 122 | CFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS)) | 122 | CFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS)) |
| 123 | CFLAGS += $(CSTANDARD) | 123 | CFLAGS += $(CSTANDARD) |
| 124 | CFLAGS += -include $(CONFIG_H) | 124 | ifdef CONFIG_H |
| 125 | CFLAGS += -include $(CONFIG_H) | ||
| 126 | endif | ||
| 125 | 127 | ||
| 126 | 128 | ||
| 127 | #---------------- Compiler Options C++ ---------------- | 129 | #---------------- Compiler Options C++ ---------------- |
| @@ -149,7 +151,9 @@ CPPFLAGS += -Wundef | |||
| 149 | CPPFLAGS += -Wa,-adhlns=$(@:%.o=%.lst) | 151 | CPPFLAGS += -Wa,-adhlns=$(@:%.o=%.lst) |
| 150 | CPPFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS)) | 152 | CPPFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS)) |
| 151 | #CPPFLAGS += $(CSTANDARD) | 153 | #CPPFLAGS += $(CSTANDARD) |
| 152 | CPPFLAGS += -include $(CONFIG_H) | 154 | ifdef CONFIG_H |
| 155 | CPPFLAGS += -include $(CONFIG_H) | ||
| 156 | endif | ||
| 153 | 157 | ||
| 154 | 158 | ||
| 155 | #---------------- Assembler Options ---------------- | 159 | #---------------- Assembler Options ---------------- |
| @@ -162,7 +166,9 @@ CPPFLAGS += -include $(CONFIG_H) | |||
| 162 | # -listing-cont-lines: Sets the maximum number of continuation lines of hex | 166 | # -listing-cont-lines: Sets the maximum number of continuation lines of hex |
| 163 | # dump that will be displayed for a given single line of source input. | 167 | # dump that will be displayed for a given single line of source input. |
| 164 | ASFLAGS = $(ADEFS) -Wa,-adhlns=$(@:%.o=%.lst),-gstabs,--listing-cont-lines=100 | 168 | ASFLAGS = $(ADEFS) -Wa,-adhlns=$(@:%.o=%.lst),-gstabs,--listing-cont-lines=100 |
| 165 | ASFLAGS += -include $(CONFIG_H) | 169 | ifdef CONFIG_H |
| 170 | ASFLAGS += -include $(CONFIG_H) | ||
| 171 | endif | ||
| 166 | 172 | ||
| 167 | 173 | ||
| 168 | #---------------- Library Options ---------------- | 174 | #---------------- Library Options ---------------- |
diff --git a/sony_usb/Makefile.pjrc b/sony_usb/Makefile.pjrc index 2a4eeff13..b7e22dfac 100644 --- a/sony_usb/Makefile.pjrc +++ b/sony_usb/Makefile.pjrc | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | TARGET = news_usb_pjrc | 7 | TARGET = news_usb_pjrc |
| 8 | 8 | ||
| 9 | # Directory common source filess exist | 9 | # Directory common source filess exist |
| 10 | COMMON_DIR = .. | 10 | TOP_DIR = .. |
| 11 | 11 | ||
| 12 | # Directory keyboard dependent files exist | 12 | # Directory keyboard dependent files exist |
| 13 | TARGET_DIR = . | 13 | TARGET_DIR = . |
| @@ -52,5 +52,7 @@ PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex | |||
| 52 | 52 | ||
| 53 | 53 | ||
| 54 | 54 | ||
| 55 | include $(COMMON_DIR)/pjrc.mk | 55 | include $(TOP_DIR)/protocol/pjrc.mk |
| 56 | include $(COMMON_DIR)/common.mk | 56 | include $(TOP_DIR)/protocol.mk |
| 57 | include $(TOP_DIR)/common.mk | ||
| 58 | include $(TOP_DIR)/rules.mk | ||
diff --git a/terminal_usb/Makefile.102_pjrc b/terminal_usb/Makefile.102_pjrc index c1fd397f6..a02877acf 100644 --- a/terminal_usb/Makefile.102_pjrc +++ b/terminal_usb/Makefile.102_pjrc | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | TARGET = terminal_usb_102_pjrc | 7 | TARGET = terminal_usb_102_pjrc |
| 8 | 8 | ||
| 9 | # Directory common source filess exist | 9 | # Directory common source filess exist |
| 10 | COMMON_DIR = .. | 10 | TOP_DIR = .. |
| 11 | 11 | ||
| 12 | # Directory keyboard dependent files exist | 12 | # Directory keyboard dependent files exist |
| 13 | TARGET_DIR = . | 13 | TARGET_DIR = . |
| @@ -52,5 +52,7 @@ PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex | |||
| 52 | 52 | ||
| 53 | 53 | ||
| 54 | 54 | ||
| 55 | include $(COMMON_DIR)/pjrc.mk | 55 | include $(TOP_DIR)/protocol/pjrc.mk |
| 56 | include $(COMMON_DIR)/common.mk | 56 | include $(TOP_DIR)/protocol.mk |
| 57 | include $(TOP_DIR)/common.mk | ||
| 58 | include $(TOP_DIR)/rules.mk | ||
diff --git a/terminal_usb/Makefile.122_pjrc b/terminal_usb/Makefile.122_pjrc index b91e484ff..1f21d4e6c 100644 --- a/terminal_usb/Makefile.122_pjrc +++ b/terminal_usb/Makefile.122_pjrc | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | TARGET = terminal_usb_122_pjrc | 7 | TARGET = terminal_usb_122_pjrc |
| 8 | 8 | ||
| 9 | # Directory common source filess exist | 9 | # Directory common source filess exist |
| 10 | COMMON_DIR = .. | 10 | TOP_DIR = .. |
| 11 | 11 | ||
| 12 | # Directory keyboard dependent files exist | 12 | # Directory keyboard dependent files exist |
| 13 | TARGET_DIR = . | 13 | TARGET_DIR = . |
| @@ -52,5 +52,7 @@ PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex | |||
| 52 | 52 | ||
| 53 | 53 | ||
| 54 | 54 | ||
| 55 | include $(COMMON_DIR)/pjrc.mk | 55 | include $(TOP_DIR)/protocol/pjrc.mk |
| 56 | include $(COMMON_DIR)/common.mk | 56 | include $(TOP_DIR)/protocol.mk |
| 57 | include $(TOP_DIR)/common.mk | ||
| 58 | include $(TOP_DIR)/rules.mk | ||
diff --git a/x68k_usb/Makefile b/x68k_usb/Makefile index c4b9b221b..0127c0bf8 100644 --- a/x68k_usb/Makefile +++ b/x68k_usb/Makefile | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | TARGET = x68k_usb_pjrc | 7 | TARGET = x68k_usb_pjrc |
| 8 | 8 | ||
| 9 | # Directory common source filess exist | 9 | # Directory common source filess exist |
| 10 | COMMON_DIR = .. | 10 | TOP_DIR = .. |
| 11 | 11 | ||
| 12 | # Directory keyboard dependent files exist | 12 | # Directory keyboard dependent files exist |
| 13 | TARGET_DIR = . | 13 | TARGET_DIR = . |
| @@ -81,5 +81,7 @@ PROGRAM_CMD = dfu-programmer atmega32u4 flash $(TARGET).hex | |||
| 81 | 81 | ||
| 82 | 82 | ||
| 83 | 83 | ||
| 84 | include $(COMMON_DIR)/pjrc.mk | 84 | include $(TOP_DIR)/protocol/pjrc.mk |
| 85 | include $(COMMON_DIR)/common.mk | 85 | include $(TOP_DIR)/protocol.mk |
| 86 | include $(TOP_DIR)/common.mk | ||
| 87 | include $(TOP_DIR)/rules.mk | ||
