FreeCalypso > hg > freecalypso-tools
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ffstools/tiffs-mkfs/Makefile Wed May 20 06:55:58 2020 +0000 @@ -0,0 +1,23 @@ +CC= gcc +CFLAGS= -O2 +PROG= tiffs-mkfs +OBJS= ffsparam.o globals.o input.o main.o output.o +HDRS= globals.h struct.h + +INSTALL_PREFIX= /opt/freecalypso + +INSTBIN=${INSTALL_PREFIX}/bin + +all: ${PROG} + +${PROG}: ${OBJS} + ${CC} -o $@ ${OBJS} + +${OBJS}: ${HDRS} + +install: ${PROG} + mkdir -p ${INSTBIN} + install -c ${PROG} ${INSTBIN} + +clean: + rm -f ${PROG} *.o *.out *errs