FreeCalypso > hg > freecalypso-hwlab
annotate lcdtest/Makefile @ 121:87b34a244901
fc-simtool: pb-erase-range command implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 28 Jan 2021 05:04:16 +0000 |
parents | de3d3cfcbb35 |
children |
rev | line source |
---|---|
12
5eaf832d57d0
lcdtest program started, skeleton compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
28
de3d3cfcbb35
lcdtest: lcdphone program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
26
diff
changeset
|
2 CFLAGS= -O2 -I/opt/freecalypso/include |
de3d3cfcbb35
lcdtest: lcdphone program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
26
diff
changeset
|
3 PROGS= lcdphone lcdtest |
de3d3cfcbb35
lcdtest: lcdphone program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
26
diff
changeset
|
4 |
de3d3cfcbb35
lcdtest: lcdphone program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
26
diff
changeset
|
5 LCDPHONE_OBJS= busops.o connect.o haoran.o interf.o memops.o phonemain.o \ |
de3d3cfcbb35
lcdtest: lcdphone program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
26
diff
changeset
|
6 startek.o |
26
225556110fa6
lcdtest: beginning of reorg for adding lcdphone program
Mychaela Falconia <falcon@freecalypso.org>
parents:
25
diff
changeset
|
7 |
225556110fa6
lcdtest: beginning of reorg for adding lcdphone program
Mychaela Falconia <falcon@freecalypso.org>
parents:
25
diff
changeset
|
8 LCDTEST_OBJS= busops.o commands.o dispatch.o haoran.o readops.o showppm.o \ |
225556110fa6
lcdtest: beginning of reorg for adding lcdphone program
Mychaela Falconia <falcon@freecalypso.org>
parents:
25
diff
changeset
|
9 startek.o testmain.o |
12
5eaf832d57d0
lcdtest program started, skeleton compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
26
225556110fa6
lcdtest: beginning of reorg for adding lcdphone program
Mychaela Falconia <falcon@freecalypso.org>
parents:
25
diff
changeset
|
11 all: ${PROGS} |
12
5eaf832d57d0
lcdtest program started, skeleton compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
28
de3d3cfcbb35
lcdtest: lcdphone program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
26
diff
changeset
|
13 lcdphone: ${LCDPHONE_OBJS} |
de3d3cfcbb35
lcdtest: lcdphone program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
26
diff
changeset
|
14 ${CC} -o $@ ${LCDPHONE_OBJS} -lftdi |
de3d3cfcbb35
lcdtest: lcdphone program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
26
diff
changeset
|
15 |
26
225556110fa6
lcdtest: beginning of reorg for adding lcdphone program
Mychaela Falconia <falcon@freecalypso.org>
parents:
25
diff
changeset
|
16 lcdtest: ${LCDTEST_OBJS} |
225556110fa6
lcdtest: beginning of reorg for adding lcdphone program
Mychaela Falconia <falcon@freecalypso.org>
parents:
25
diff
changeset
|
17 ${CC} -o $@ ${LCDTEST_OBJS} -lftdi |
12
5eaf832d57d0
lcdtest program started, skeleton compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 |
5eaf832d57d0
lcdtest program started, skeleton compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 clean: |
26
225556110fa6
lcdtest: beginning of reorg for adding lcdphone program
Mychaela Falconia <falcon@freecalypso.org>
parents:
25
diff
changeset
|
20 rm -f ${PROGS} *.o *errs *.out |