comparison ffstools/tiffs-mkfs/Makefile @ 705:12ae93940467

tiffs-mkfs program written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 20 May 2020 06:55:58 +0000
parents
children
comparison
equal deleted inserted replaced
704:dacd9fdc392a 705:12ae93940467
1 CC= gcc
2 CFLAGS= -O2
3 PROG= tiffs-mkfs
4 OBJS= ffsparam.o globals.o input.o main.o output.o
5 HDRS= globals.h struct.h
6
7 INSTALL_PREFIX= /opt/freecalypso
8
9 INSTBIN=${INSTALL_PREFIX}/bin
10
11 all: ${PROG}
12
13 ${PROG}: ${OBJS}
14 ${CC} -o $@ ${OBJS}
15
16 ${OBJS}: ${HDRS}
17
18 install: ${PROG}
19 mkdir -p ${INSTBIN}
20 install -c ${PROG} ${INSTBIN}
21
22 clean:
23 rm -f ${PROG} *.o *.out *errs