FreeCalypso > hg > freecalypso-tools
annotate rvinterf/rvtat/Makefile @ 456:3884d823b36e
simtest: volt command implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 09 Feb 2019 08:09:32 +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} |