view calypso/Makefile @ 4:deeeef558279

fcsim-calypso-be put together
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 14 Mar 2021 05:07:34 +0000
parents
children f6b03af63bf7
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 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