FreeCalypso > hg > freecalypso-hwlab
annotate fteeprom/test/Makefile @ 124:6c4567dd8946
fc-simtool: add non-interactive one-shot command (or script) mode
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Thu, 28 Jan 2021 18:56:34 +0000 |
| parents | 86db7b4bfca4 |
| children |
| rev | line source |
|---|---|
|
77
86db7b4bfca4
fteeprom-prog-bad: make the "bad" version easily accessible for testing
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
|
86db7b4bfca4
fteeprom-prog-bad: make the "bad" version easily accessible for testing
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
|
86db7b4bfca4
fteeprom-prog-bad: make the "bad" version easily accessible for testing
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 PROGS= fteeprom-prog-bad |
|
86db7b4bfca4
fteeprom-prog-bad: make the "bad" version easily accessible for testing
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
|
86db7b4bfca4
fteeprom-prog-bad: make the "bad" version easily accessible for testing
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 all: ${PROGS} |
|
86db7b4bfca4
fteeprom-prog-bad: make the "bad" version easily accessible for testing
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
|
86db7b4bfca4
fteeprom-prog-bad: make the "bad" version easily accessible for testing
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 fteeprom-prog-bad: fteeprom-prog-bad.c |
|
86db7b4bfca4
fteeprom-prog-bad: make the "bad" version easily accessible for testing
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 ${CC} ${CFLAGS} -o $@ $@.c -lftdi |
|
86db7b4bfca4
fteeprom-prog-bad: make the "bad" version easily accessible for testing
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
|
86db7b4bfca4
fteeprom-prog-bad: make the "bad" version easily accessible for testing
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 clean: |
|
86db7b4bfca4
fteeprom-prog-bad: make the "bad" version easily accessible for testing
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 rm -f ${PROGS} *.o *errs *.out |
