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

Subversion Repositories or2k

[/] [or2k/] [trunk/] [analysis-bin/] [insnanalysis/] [Makefile] - Blame information for rev 16

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

Line No. Rev Author Line
1 16 julius
 
2
APP=insnanalysis
3
 
4
all: $(APP)
5
 
6
SRC=insnanalysis.c or1k-32-insn.c  insn-lists.c
7
HDRS=insnanalysis.h or1k-32-insn.h insn-lists.h
8
 
9
 
10
insnanalysis:  $(SRC) $(HDRS)
11
        gcc -O2 $(SRC) -o $@
12
 
13
 
14
test: test.bin $(APP)
15
        ./$(APP) $<
16
 
17
test.bin: test.o
18
        or32-elf-objcopy -O binary $< $@
19
 
20
test.o: test.S
21
        or32-elf-as $< -o $@
22
 
23
clean:
24
        rm $(APP) *.o *.bin

powered by: WebSVN 2.1.0

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