Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
yhzhang0128 committed Jan 21, 2022
1 parent 0b43bf9 commit 39dadb4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ app: apps/*.c
mkdir -p $(DEBUG_DIR) $(RELEASE_DIR)
@echo "---------------- Compile the Apps Layer ----------------"
for FILE in $^ ; do \
export APP_NAME=$$(basename $${FILE} .c);\
echo "Compile" $${FILE} "=>" $(RELEASE_DIR)/$${APP_NAME}.elf;\
$(RISCV_CC) $(CFLAGS) $(LDFLAGS) $(APPS_LAYOUT) $(APPS_SRCS) $${FILE} $(DEFAULT_LDLIBS) $(INCLUDE) -o $(RELEASE_DIR)/$${APP_NAME}.elf;\
echo "Compile" $${FILE} "=>" $(DEBUG_DIR)/$${APP_NAME}.lst;\
$(OBJDUMP) --source --all-headers --demangle --line-numbers --wide $(RELEASE_DIR)/$${APP_NAME}.elf > $(DEBUG_DIR)/$${APP_NAME}.lst;\
export APP=$$(basename $${FILE} .c);\
echo "Compile" $${FILE} "=>" $(RELEASE_DIR)/$${APP}.elf;\
$(RISCV_CC) $(CFLAGS) $(LDFLAGS) $(APPS_LAYOUT) $(APPS_SRCS) $${FILE} $(DEFAULT_LDLIBS) $(INCLUDE) -o $(RELEASE_DIR)/$${APP}.elf;\
echo "Compile" $${FILE} "=>" $(DEBUG_DIR)/$${APP}.lst;\
$(OBJDUMP) --source --all-headers --demangle --line-numbers --wide $(RELEASE_DIR)/$${APP}.elf > $(DEBUG_DIR)/$${APP}.lst;\
done

loc:
Expand Down

0 comments on commit 39dadb4

Please sign in to comment.