view serial/Makefile @ 66:c8e2a0e89d08

grcard1-set-admN: entry form changed from decimal to hex also added more comments to the code
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 24 Mar 2021 06:04:40 +0000
parents be27d1c85861
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	fcsim-serial-atr fcsim-serial-be

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/bin

ATR_OBJS=	atrmain.o baud_parse.o collect_atr.o invtable.o serport.o
MAIN_OBJS=	baud_parse.o collect_atr.o exchange.o hexinput.o invtable.o \
		main.o serport.o spenh.o xmit.o

all:	${PROGS}

fcsim-serial-atr:	${ATR_OBJS}
	${CC} ${CFLAGS} -o $@ ${ATR_OBJS}

fcsim-serial-be:	${MAIN_OBJS}
	${CC} ${CFLAGS} -o $@ ${MAIN_OBJS}

install:
	mkdir -p ${INSTBIN}
	install -c ${PROGS} ${INSTBIN}

clean:
	rm -f ${PROGS} *.o