view ffstools/cal2text/Makefile @ 512:b0f9d38bfd9e

loadtools/scripts/compal.*: switch to 0x03000000 flash mapping
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 28 May 2019 17:35:55 +0000
parents 90d7c360a614
children b73c21a2148f
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	fc-cal2text
OBJS=	dircheck.o main.o mkdir.o smallconv.o
LIBS=	../../librftab/librftab.a

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/bin

all:	${PROG}

${PROG}:	${OBJS} ${LIBS}
	${CC} -o $@ ${OBJS} ${LIBS}

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

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