Browse Source

create folders

Thomas B 3 weeks ago
parent
commit
f8eda35071
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      Makefile

+ 2
- 0
Makefile View File

99
 	@rm -rf bear.cfg
99
 	@rm -rf bear.cfg
100
 
100
 
101
 $(GIT): $(DATA_DIR)/git.c
101
 $(GIT): $(DATA_DIR)/git.c
102
+	@mkdir -p $(@D)
102
 	@echo Generating $@ from $<
103
 	@echo Generating $@ from $<
103
 	@sed 's|GIT_VERSION|$(shell git describe --abbrev=7 --dirty --always --tags)|g' $< > $@
104
 	@sed 's|GIT_VERSION|$(shell git describe --abbrev=7 --dirty --always --tags)|g' $< > $@
104
 
105
 
105
 $(BUILD_DIR)/$(DATA_DIR)/speed_table.c:
106
 $(BUILD_DIR)/$(DATA_DIR)/speed_table.c:
107
+	@mkdir -p $(@D)
106
 	@echo Generating $@
108
 	@echo Generating $@
107
 	@util/gen_angles.py -n speed_table -d $(BUILD_DIR)/$(DATA_DIR) -s 16 -w 2 -f 0 -m 42 -t int8_t
109
 	@util/gen_angles.py -n speed_table -d $(BUILD_DIR)/$(DATA_DIR) -s 16 -w 2 -f 0 -m 42 -t int8_t
108
 
110
 

Loading…
Cancel
Save