FreeCalypso > hg > freecalypso-tools
annotate rvinterf/rvtat/Makefile @ 459:5c1fb31751d7
target-utils/simtest/Makefile: install added
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 10 Feb 2019 17:34:55 +0000 |
parents | ab8fb95a28da |
children | 1d5bd9a06781 |
rev | line source |
---|---|
346
99471c57155a
fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
99471c57155a
fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 -I../include |
99471c57155a
fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 PROG= fcup-rvtat |
421
ab8fb95a28da
rvinterf/rvtat converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
346
diff
changeset
|
4 OBJS= interf.o main.o |
ab8fb95a28da
rvinterf/rvtat converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
346
diff
changeset
|
5 LIBS= ../libinterf/libinterf.a |
346
99471c57155a
fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 INSTBIN=/opt/freecalypso/bin |
99471c57155a
fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
99471c57155a
fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 all: ${PROG} |
99471c57155a
fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
421
ab8fb95a28da
rvinterf/rvtat converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
346
diff
changeset
|
10 ${PROG}: ${OBJS} ${LIBS} |
ab8fb95a28da
rvinterf/rvtat converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
346
diff
changeset
|
11 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} |
346
99471c57155a
fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
99471c57155a
fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 install: ${PROG} |
99471c57155a
fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 mkdir -p ${INSTBIN} |
99471c57155a
fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 install -c ${PROG} ${INSTBIN} |
99471c57155a
fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 |
99471c57155a
fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 clean: |
99471c57155a
fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 rm -f *.o *.out *errs ${PROG} |