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

Subversion Repositories or2k

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

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

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

powered by: WebSVN 2.1.0

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