OpenCores
URL https://opencores.org/ocsvn/neorv32/neorv32/trunk

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [sw/] [example/] [hello_world/] [makefile] - Diff between revs 43 and 54

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 43 Rev 54
Line 179... Line 179...
%.cpp.o: %.cpp
%.cpp.o: %.cpp
        @$(CC) -c $(CC_OPTS) -I $(NEORV32_INC_PATH) $(APP_INC) $< -o $@
        @$(CC) -c $(CC_OPTS) -I $(NEORV32_INC_PATH) $(APP_INC) $< -o $@
 
 
# Link object files and show memory utilization
# Link object files and show memory utilization
main.elf: $(OBJ)
main.elf: $(OBJ)
        @$(CC) $(CC_OPTS) -T $(LD_SCRIPT) $(OBJ) -o $@
        @$(CC) $(CC_OPTS) -T $(LD_SCRIPT) $(OBJ) -o $@ -lm
        @echo "Memory utilization:"
        @echo "Memory utilization:"
        @$(SIZE) main.elf
        @$(SIZE) main.elf
 
 
# Assembly listing file (for debugging)
# Assembly listing file (for debugging)
$(APP_ASM): main.elf
$(APP_ASM): main.elf

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.