FreeCalypso > hg > fc-usbser-tools
annotate fteeprom/test/Makefile @ 16:1d76deae1e74
fteeprom-read: convert to new local libs
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 07 Sep 2023 08:56:57 +0000 |
parents | ab2bb12ec959 |
children |
rev | line source |
---|---|
1
ab2bb12ec959
fteeprom/test: import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
ab2bb12ec959
fteeprom/test: import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
ab2bb12ec959
fteeprom/test: import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 PROGS= fteeprom-prog-bad |
ab2bb12ec959
fteeprom/test: import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
ab2bb12ec959
fteeprom/test: import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 all: ${PROGS} |
ab2bb12ec959
fteeprom/test: import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
ab2bb12ec959
fteeprom/test: import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 fteeprom-prog-bad: fteeprom-prog-bad.c |
ab2bb12ec959
fteeprom/test: import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 ${CC} ${CFLAGS} -o $@ $@.c -lftdi |
ab2bb12ec959
fteeprom/test: import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
ab2bb12ec959
fteeprom/test: import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 clean: |
ab2bb12ec959
fteeprom/test: import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 rm -f ${PROGS} *.o *errs *.out |