OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [orpsocv2/] [sw/] [apps/] [dhry/] [Makefile] - Diff between revs 393 and 397

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

Rev 393 Rev 397
Line 1... Line 1...
.PHONY: dhry.vmem
SW_ROOT=../..
.PHONY: dhry.bin
 
 
 
include ../Makefile.inc
# Force it to be regenerated each time, as the NUM_RUNS is likely to be changed
 
 
NUM_RUNS ?= 10
 
 
 
OR32_CFLAGS += -DNUM_RUNS=$(NUM_RUNS)
 
 
 
 
include $(SW_ROOT)/Makefile.inc
 
 
# Have our specific make rules here, so each time we run it gets compiled.
NUM_RUNS ?= 10
# This is useful as the NUM_RUNS variable can change from build to build.
 
 
 
.PHONY: dhry.vmem
OR32_CFLAGS+= -DNUM_RUNS=$(NUM_RUNS)
dhry.vmem: dhry.bin $(UTILS_BIN2VMEM)
 
        $(Q)$(UTILS_BIN2VMEM) $< > $@
 
 
 
.PHONY: dhry.bin
 
dhry.bin: dhry.elf
 
        $(Q)$(OR32_OBJCOPY) -O binary $< $@
 
 
 
.PHONY: dhry.elf
 
dhry.elf: dhry.c $(ELF_DEPENDS)
 
        $(Q)$(OR32_CC) $^ $(OR32_CFLAGS) $(OR32_LDFLAGS) -o $@
 
 
 
%.dis: %.elf
%.dis: %.elf
        $(Q)$(OR32_OBJDUMP) -d $< > $@
        $(Q)$(OR32_OBJDUMP) -d $< > $@
 
 
%.bin: %.elf
%.bin: %.elf

powered by: WebSVN 2.1.0

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