URL
https://opencores.org/ocsvn/or2k/or2k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 16 |
Rev 19 |
Line 1... |
Line 1... |
|
|
APP=insnanalysis
|
APP=insnanalysis
|
|
|
|
CFLAGS ?= -O2
|
|
|
all: $(APP)
|
all: $(APP)
|
|
|
SRC=insnanalysis.c or1k-32-insn.c insn-lists.c
|
SRC=insnanalysis.c or1k-32-insn.c insn-lists.c
|
HDRS=insnanalysis.h or1k-32-insn.h insn-lists.h
|
HDRS=insnanalysis.h or1k-32-insn.h insn-lists.h
|
|
|
|
|
insnanalysis: $(SRC) $(HDRS)
|
insnanalysis: $(SRC) $(HDRS)
|
gcc -O2 $(SRC) -o $@
|
gcc $(CFLAGS) $(SRC) -o $@
|
|
|
|
|
test: test.bin $(APP)
|
test: test.bin $(APP)
|
./$(APP) $<
|
./$(APP) $<
|
|
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.