comparison ffstools/tiffs-wrappers/Makefile @ 246:872d92404b6a

ffstools: pirffs wrapper
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 27 Jan 2014 05:08:09 +0000
parents 48a254ca4493
children
comparison
equal deleted inserted replaced
245:2dfd9cfa9df6 246:872d92404b6a
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= mokoffs 3 PROGS= mokoffs pirffs
4 INSTBIN=/usr/local/bin 4 INSTBIN=/usr/local/bin
5 5
6 MOKOFFS_OBJS= installpath.o mokoffs.o 6 MOKOFFS_OBJS= installpath.o mokoffs.o
7 PIRFFS_OBJS= installpath.o pirffs.o
7 8
8 all: ${PROGS} 9 all: ${PROGS}
9 10
10 mokoffs: ${MOKOFFS_OBJS} 11 mokoffs: ${MOKOFFS_OBJS}
11 ${CC} ${CFLAGS} -o $@ ${MOKOFFS_OBJS} 12 ${CC} ${CFLAGS} -o $@ ${MOKOFFS_OBJS}
13
14 pirffs: ${PIRFFS_OBJS}
15 ${CC} ${CFLAGS} -o $@ ${PIRFFS_OBJS}
12 16
13 install: ${PROGS} 17 install: ${PROGS}
14 mkdir -p ${INSTBIN} 18 mkdir -p ${INSTBIN}
15 install -c ${PROGS} ${INSTBIN} 19 install -c ${PROGS} ${INSTBIN}
16 20