Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion c_common/front_end_common_lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ APP_OUTPUT_DIR := $(FEC_DIR)../../spinn_front_end_common/common_model_binaries/
# key for the database in this APP_OUTPUT_DIR
DATABASE_KEY = C
$(MODIFIED_DIR)%.c: $(RAW_DIR)
python -m spinn_utilities.make_tools.converter $(SRC_DIR) $(MODIFIED_DIR) $(APP_OUTPUT_DIR) $(DATABASE_KEY)
python3 -m spinn_utilities.make_tools.converter $(SRC_DIR) $(MODIFIED_DIR) $(APP_OUTPUT_DIR) $(DATABASE_KEY)

$(FEC_BUILD)/%.o: $(MODIFIED_DIR)/%.c
$(CC) $(CFLAGS) -o $@ $<
Expand Down
6 changes: 3 additions & 3 deletions c_common/front_end_common_lib/make/fec.mk
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ get_path = $(abspath $(word $2, $(subst :, ,$1)))/
# directory pair
define add_source_dir#(src_dir)
$(call get_path,$(1),2): $(wildcard $(call get_path,$(1),1)/**/*)
python -m spinn_utilities.make_tools.converter $(call get_path,$(1),1) $(call get_path,$(1),2) $(APP_OUTPUT_DIR) $(DATABASE_KEY)
python3 -m spinn_utilities.make_tools.converter $(call get_path,$(1),1) $(call get_path,$(1),2) $(APP_OUTPUT_DIR) $(DATABASE_KEY)

$(call get_path,$(1), 2)%.c: $(call get_path,$(1), 1)%.c
python -m spinn_utilities.make_tools.converter $(call get_path,$(1),1) $(call get_path,$(1),2) $(APP_OUTPUT_DIR) $(DATABASE_KEY)
python3 -m spinn_utilities.make_tools.converter $(call get_path,$(1),1) $(call get_path,$(1),2) $(APP_OUTPUT_DIR) $(DATABASE_KEY)
$(call get_path,$(1), 2)%.h: $(call get_path,$(1), 1)%.h
python -m spinn_utilities.make_tools.converter $(call get_path,$(1),1) $(call get_path,$(1),2) $(APP_OUTPUT_DIR) $(DATABASE_KEY)
python3 -m spinn_utilities.make_tools.converter $(call get_path,$(1),1) $(call get_path,$(1),2) $(APP_OUTPUT_DIR) $(DATABASE_KEY)

# Build the o files from the modified sources
$$(BUILD_DIR)%.o: $(call get_path,$(1),2)%.c
Expand Down
Loading