view calypso/Makefile @ 78:f6d5cff989d6

fc-uicc-tool batch stdin mode implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 09 Apr 2021 02:47:21 +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