view ringtools/imy/Makefile @ 916:54a0bc149d9c

fc-loadtool: add support for Samsung K5L29xx_A flash
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 30 Dec 2022 21:07:30 +0000
parents fd4c9bc7835d
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	fc-imy2pwt
OBJS=	convert.o durations.o firstpass.o main.o
HDRS=	sizelimits.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