view calypso/Makefile @ 5:f6b03af63bf7

fcsim-calypso-be: add FIONBIO setting to 0
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 14 Mar 2021 05:15:49 +0000
parents deeeef558279
children 0a21a7ffe144
line wrap: on
line source

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

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}

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

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