FreeCalypso > hg > freecalypso-hwlab
annotate lcdtest/Makefile @ 24:94521a02c33d
lcdtest: the truth about Startek and Crystalfontz LCDs
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 14 Apr 2018 06:43:23 +0000 |
parents | 2e4f27ea7067 |
children | 0a44549a64c8 |
rev | line source |
---|---|
12
5eaf832d57d0
lcdtest program started, skeleton compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
5eaf832d57d0
lcdtest program started, skeleton compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
5eaf832d57d0
lcdtest program started, skeleton compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 PROG= lcdtest |
24
94521a02c33d
lcdtest: the truth about Startek and Crystalfontz LCDs
Mychaela Falconia <falcon@freecalypso.org>
parents:
20
diff
changeset
|
4 OBJS= busops.o commands.o dispatch.o main.o readops.o showppm.o startek.o |
12
5eaf832d57d0
lcdtest program started, skeleton compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
5eaf832d57d0
lcdtest program started, skeleton compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 all: ${PROG} |
5eaf832d57d0
lcdtest program started, skeleton compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
5eaf832d57d0
lcdtest program started, skeleton compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 ${PROG}: ${OBJS} |
5eaf832d57d0
lcdtest program started, skeleton compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 ${CC} -o $@ ${OBJS} -lftdi |
5eaf832d57d0
lcdtest program started, skeleton compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
5eaf832d57d0
lcdtest program started, skeleton compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 clean: |
5eaf832d57d0
lcdtest program started, skeleton compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 rm -f ${PROG} *.o *errs *.out |