view ffstools/tiffs-wrappers/Makefile @ 490:06ab60fec942

gsm-fw/gpf/tst_pei/tst_pei.c: use FFS_O_RDONLY when reading tracemask file gsm-fw/finlink/Makefile: proper dependency logic for GPF libraries
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 30 Jun 2014 05:04:35 +0000
parents 872d92404b6a
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	mokoffs pirffs
INSTBIN=/usr/local/bin

MOKOFFS_OBJS=	installpath.o mokoffs.o
PIRFFS_OBJS=	installpath.o pirffs.o

all:	${PROGS}

mokoffs:	${MOKOFFS_OBJS}
	${CC} ${CFLAGS} -o $@ ${MOKOFFS_OBJS}

pirffs:		${PIRFFS_OBJS}
	${CC} ${CFLAGS} -o $@ ${PIRFFS_OBJS}

install:	${PROGS}
	mkdir -p ${INSTBIN}
	install -c ${PROGS} ${INSTBIN}

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