view calypso/Makefile @ 6:0a21a7ffe144

calypso: caltest front end put together
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 14 Mar 2021 05:26:58 +0000
parents f6b03af63bf7
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