comparison duart28/Makefile @ 27:2413a54a1bfc

fc-duart28-conf started
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 09 Sep 2023 17:53:21 +0000
parents fteeprom/Makefile@af801ab43a33
children a7393d00996a
comparison
equal deleted inserted replaced
26:49239efbdcc8 27:2413a54a1bfc
1 CC= gcc
2 CFLAGS= -O2
3 PROG= fc-duart28-conf
4 OBJS= find_usb.o main.o
5 LIBS= ../libftmini/libftmini.a ../libuwrap/libuwrap.a
6
7 INSTALL_PREFIX= /opt/freecalypso
8
9 INSTBIN=${INSTALL_PREFIX}/bin
10
11 all: ${PROG}
12
13 ${PROG}: ${OBJS} ${LIBS}
14 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} -lusb
15
16 install:
17 mkdir -p ${INSTBIN}
18 install -c ${PROG} ${INSTBIN}
19
20 clean:
21 rm -f ${PROG} *.o *errs *.out