view calypso/Makefile @ 8:34bbb0585cab

libutil: import from previous fc-pcsc-tools version
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 14 Mar 2021 05:42:37 +0000
parents 0a21a7ffe144
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	fcsim-calypso-be caltest

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/bin

MAIN_OBJS=	main.o nonblock.o targetfd.o tpinterf.o

all:	${PROGS}

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

caltest:	caltest.c
	${CC} ${CFLAGS} -o $@ $@.c

install:
	mkdir -p ${INSTBIN}
	install -c fcsim-calypso-be ${INSTBIN}

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