annotate fteeprom/test/Makefile @ 23:7e6dcceb5ee8

fteeprom-prog: implement -r option for FT232R mode
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 09 Sep 2023 07:05:51 +0000
parents ab2bb12ec959
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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