Update all iterative makes to use

This commit is contained in:
Jordan Carlin 2024-09-29 23:14:19 -07:00
parent 23f037e76e
commit 022b98a64b
No known key found for this signature in database
7 changed files with 8 additions and 8 deletions

View File

@ -37,14 +37,14 @@ $(work_dir)/coremark.bare.riscv.elf.memfile: $(work_dir)/coremark.bare.riscv
extractFunctionRadix.sh $<.elf.objdump extractFunctionRadix.sh $<.elf.objdump
$(work_dir)/coremark.bare.riscv: $(sources) Makefile $(work_dir)/coremark.bare.riscv: $(sources) Makefile
make -C $(cmbase) PORT_DIR=$(PORT_DIR) compile RISCV=$(RISCV) XCFLAGS="$(PORT_CFLAGS)" $(MAKE) -C $(cmbase) PORT_DIR=$(PORT_DIR) compile RISCV=$(RISCV) XCFLAGS="$(PORT_CFLAGS)"
mkdir -p $(work_dir) mkdir -p $(work_dir)
mv $(cmbase)/coremark.bare.riscv $(work_dir) mv $(cmbase)/coremark.bare.riscv $(work_dir)
.PHONY: clean .PHONY: clean
clean: clean:
make -C $(cmbase) clean $(MAKE) -C $(cmbase) clean
rm -f $(work_dir)/* rm -f $(work_dir)/*

View File

@ -64,7 +64,7 @@ LIBS+=${LIBRARY_DIRS:%=-L%} ${LIBRARY_FILES:%=-l%}
INC+=${LIBRARY_DIRS:%=-I%} INC+=${LIBRARY_DIRS:%=-I%}
${LIBRARY_DIRS}: ${LIBRARY_DIRS}:
make -C $@ -j 1 $(MAKE) -C $@ -j 1
.PHONY: $(LIBRARY_DIRS) $(TARGET) .PHONY: $(LIBRARY_DIRS) $(TARGET)
endif endif

View File

@ -57,7 +57,7 @@ LIBS+=${LIBRARY_DIRS:%=-L%} ${LIBRARY_FILES:%=-l%}
INC+=${LIBRARY_DIRS:%=-I%} INC+=${LIBRARY_DIRS:%=-I%}
${LIBRARY_DIRS}: ${LIBRARY_DIRS}:
make -C $@ -j 1 $(MAKE) -C $@ -j 1
.PHONY: $(LIBRARY_DIRS) $(TARGET) .PHONY: $(LIBRARY_DIRS) $(TARGET)
endif endif

View File

@ -55,7 +55,7 @@ LIBS+=${LIBRARY_DIRS:%=-L%} ${LIBRARY_FILES:%=-l%}
INC+=${LIBRARY_DIRS:%=-I%} INC+=${LIBRARY_DIRS:%=-I%}
${LIBRARY_DIRS}: ${LIBRARY_DIRS}:
make -C $@ -j 1 $(MAKE) -C $@ -j 1
.PHONY: $(LIBRARY_DIRS) $(TARGET) .PHONY: $(LIBRARY_DIRS) $(TARGET)
endif endif

View File

@ -55,7 +55,7 @@ LIBS+=${LIBRARY_DIRS:%=-L%} ${LIBRARY_FILES:%=-l%}
INC+=${LIBRARY_DIRS:%=-I%} INC+=${LIBRARY_DIRS:%=-I%}
${LIBRARY_DIRS}: ${LIBRARY_DIRS}:
make -C $@ -j 1 $(MAKE) -C $@ -j 1
.PHONY: $(LIBRARY_DIRS) $(TARGET) .PHONY: $(LIBRARY_DIRS) $(TARGET)
endif endif

View File

@ -55,7 +55,7 @@ LIBS+=${LIBRARY_DIRS:%=-L%} ${LIBRARY_FILES:%=-l%}
INC+=${LIBRARY_DIRS:%=-I%} INC+=${LIBRARY_DIRS:%=-I%}
${LIBRARY_DIRS}: ${LIBRARY_DIRS}:
make -C $@ -j 1 $(MAKE) -C $@ -j 1
.PHONY: $(LIBRARY_DIRS) $(TARGET) .PHONY: $(LIBRARY_DIRS) $(TARGET)
endif endif

View File

@ -55,7 +55,7 @@ LIBS+=${LIBRARY_DIRS:%=-L%} ${LIBRARY_FILES:%=-l%}
INC+=${LIBRARY_DIRS:%=-I%} INC+=${LIBRARY_DIRS:%=-I%}
${LIBRARY_DIRS}: ${LIBRARY_DIRS}:
make -C $@ -j 1 $(MAKE) -C $@ -j 1
.PHONY: $(LIBRARY_DIRS) $(TARGET) .PHONY: $(LIBRARY_DIRS) $(TARGET)
endif endif