FreeCalypso > hg > fc-sim-tools
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/calypso/Makefile Sun Mar 14 05:07:34 2021 +0000 @@ -0,0 +1,21 @@ +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