comparison fteeprom/Makefile @ 4:2e84619e7422

fteeprom/Makefile: implement INSTALL_PREFIX
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 04 Sep 2023 06:14:47 +0000
parents 11b8a30333b3
children b2c891299e83
comparison
equal deleted inserted replaced
3:434806360d91 4:2e84619e7422
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= ftee-gen2232c ftee-gen2232h ftee-gen232r ftee-mkblank fteeprom-erase \ 3 PROGS= ftee-gen2232c ftee-gen2232h ftee-gen232r ftee-mkblank fteeprom-erase \
4 fteeprom-prog fteeprom-read 4 fteeprom-prog fteeprom-read
5 INSTBIN=/opt/freecalypso/bin 5
6 INSTALL_PREFIX= /opt/freecalypso
7
8 INSTBIN=${INSTALL_PREFIX}/bin
6 9
7 all: ${PROGS} 10 all: ${PROGS}
8 11
9 ftee-gen2232c: ftee-gen2232c.c 12 ftee-gen2232c: ftee-gen2232c.c
10 ${CC} ${CFLAGS} -o $@ $@.c 13 ${CC} ${CFLAGS} -o $@ $@.c