FreeCalypso > hg > fc-usbser-tools
annotate fteeprom/test/Makefile @ 13:c53dee063cdd
libftmini/ftdi_defs.h: extract from libftdi-0.20/src/ftdi.h
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 07 Sep 2023 07:19:43 +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 |