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

Subversion Repositories or2k

[/] [or2k/] [trunk/] [analysis-bin/] [insnanalysis/] [Makefile] - Rev 19

Go to most recent revision | Compare with Previous | Blame | View Log


APP=insnanalysis

CFLAGS ?= -O2

all: $(APP)

SRC=insnanalysis.c or1k-32-insn.c  insn-lists.c
HDRS=insnanalysis.h or1k-32-insn.h insn-lists.h


insnanalysis:  $(SRC) $(HDRS)
        gcc $(CFLAGS) $(SRC) -o $@


test: test.bin $(APP)
        ./$(APP) $<

test.bin: test.o
        or32-elf-objcopy -O binary $< $@

test.o: test.S
        or32-elf-as $< -o $@

clean:
        rm $(APP) *.o *.bin

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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