diff options
| author | Damien George | 2014-08-08 22:34:06 +0100 |
|---|---|---|
| committer | Damien George | 2014-08-08 22:34:06 +0100 |
| commit | 284efa89ae25f75686754f0b6b8fd06526c05971 (patch) | |
| tree | c2f86d74a8671dc1129b652416ace92952d811a6 /teensy/Makefile | |
| parent | 4b67463be1d1c5e6f02f4c8159ff3fcfca4a2f09 (diff) | |
stmhal/teensy: Use _ instead of - in source file names.
Trying to move towards consistency, let's use _ exclusively in names of
source files (eg .c, .h, .csv).
Diffstat (limited to 'teensy/Makefile')
| -rw-r--r-- | teensy/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/teensy/Makefile b/teensy/Makefile index 5b8e26621..c627f2fa6 100644 --- a/teensy/Makefile +++ b/teensy/Makefile @@ -133,13 +133,13 @@ $(BUILD)/%.hex: $(BUILD)/%.elf $(Q)$(OBJCOPY) -O ihex -R .eeprom "$<" "$@" MAKE_PINS = make-pins.py -BOARD_PINS = teensy-pins.csv -AF_FILE = mk20dx256-af.csv -PREFIX_FILE = mk20dx256-prefix.c +BOARD_PINS = teensy_pins.csv +AF_FILE = mk20dx256_af.csv +PREFIX_FILE = mk20dx256_prefix.c GEN_PINS_SRC = $(BUILD)/pins_gen.c GEN_PINS_HDR = $(HEADER_BUILD)/pins.h GEN_PINS_QSTR = $(BUILD)/pins_qstr.h -GEN_PINS_AF_CONST = $(HEADER_BUILD)/pins-af-const.h +GEN_PINS_AF_CONST = $(HEADER_BUILD)/pins_af_const.h # Making OBJ use an order-only depenedency on the generated pins.h file # has the side effect of making the pins.h file before we actually compile @@ -150,7 +150,7 @@ $(OBJ): | $(HEADER_BUILD)/pins.h # Use a pattern rule here so that make will only call make-pins.py once to make # both pins_$(BOARD).c and pins.h -$(BUILD)/%_gen.c $(HEADER_BUILD)/%.h $(HEADER_BUILD)/%-af-const.h $(BUILD)/%_qstr.h: teensy-%.csv $(MAKE_PINS) $(AF_FILE) $(PREFIX_FILE) | $(HEADER_BUILD) +$(BUILD)/%_gen.c $(HEADER_BUILD)/%.h $(HEADER_BUILD)/%_af_const.h $(BUILD)/%_qstr.h: teensy_%.csv $(MAKE_PINS) $(AF_FILE) $(PREFIX_FILE) | $(HEADER_BUILD) $(ECHO) "Create $@" $(Q)$(PYTHON) $(MAKE_PINS) --board $(BOARD_PINS) --af $(AF_FILE) --prefix $(PREFIX_FILE) --hdr $(GEN_PINS_HDR) --qstr $(GEN_PINS_QSTR) --af-const $(GEN_PINS_AF_CONST) > $(GEN_PINS_SRC) |
