FreeCalypso > hg > fc-usbser-tools
comparison fteeprom/Makefile @ 0:11b8a30333b3
fteeprom: initial import from freecalypso-hwlab
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Sun, 03 Sep 2023 18:08:22 +0000 |
| parents | |
| children | 2e84619e7422 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:11b8a30333b3 |
|---|---|
| 1 CC= gcc | |
| 2 CFLAGS= -O2 | |
| 3 PROGS= ftee-gen2232c ftee-gen2232h ftee-gen232r ftee-mkblank fteeprom-erase \ | |
| 4 fteeprom-prog fteeprom-read | |
| 5 INSTBIN=/opt/freecalypso/bin | |
| 6 | |
| 7 all: ${PROGS} | |
| 8 | |
| 9 ftee-gen2232c: ftee-gen2232c.c | |
| 10 ${CC} ${CFLAGS} -o $@ $@.c | |
| 11 | |
| 12 ftee-gen2232h: ftee-gen2232h.c | |
| 13 ${CC} ${CFLAGS} -o $@ $@.c | |
| 14 | |
| 15 ftee-gen232r: ftee-gen232r.c | |
| 16 ${CC} ${CFLAGS} -o $@ $@.c | |
| 17 | |
| 18 ftee-mkblank: ftee-mkblank.c | |
| 19 ${CC} ${CFLAGS} -o $@ $@.c | |
| 20 | |
| 21 fteeprom-erase: fteeprom-erase.c | |
| 22 ${CC} ${CFLAGS} -o $@ $@.c -lftdi | |
| 23 | |
| 24 fteeprom-prog: fteeprom-prog.c | |
| 25 ${CC} ${CFLAGS} -o $@ $@.c -lftdi | |
| 26 | |
| 27 fteeprom-read: fteeprom-read.c | |
| 28 ${CC} ${CFLAGS} -o $@ $@.c -lftdi | |
| 29 | |
| 30 install: | |
| 31 mkdir -p ${INSTBIN} | |
| 32 install -c ${PROGS} ${INSTBIN} | |
| 33 | |
| 34 clean: | |
| 35 rm -f ${PROGS} *.o *errs *.out |
