view mpffs/Makefile @ 361:5d1c186cc3cf

fluid-mnf/target-bin/cmd39.m0: hand-crafted by copying cmd.m0 and manually patching the S3 record that contains the 16-bit word at 0x1140, the literal pool DPLL init constant used by hardware_init_calypso()
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 14 Mar 2020 19:33:52 +0000
parents 390be89892c4
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	mpffs-cat mpffs-dbgls mpffs-ls mpffs-xtr
INSTDIR=/usr/local/bin

CAT_OBJS=	common.o cat.o find.o
DBGLS_OBJS=	common.o dbgls.o find.o
LS_OBJS=	common.o ls.o
XTR_OBJS=	common.o xtr.o

all:	${PROGS}

mpffs-cat:	${CAT_OBJS}
	${CC} -o $@ ${CAT_OBJS}

mpffs-dbgls:	${DBGLS_OBJS}
	${CC} -o $@ ${DBGLS_OBJS}

mpffs-ls:	${LS_OBJS}
	${CC} -o $@ ${LS_OBJS}

mpffs-xtr:	${XTR_OBJS}
	${CC} -o $@ ${XTR_OBJS}

install:
	install -c ${PROGS} ${INSTDIR}

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