view ffstools/cal2text/Makefile @ 201:59de85ae94a7

target-utils/flash-boot-wa written
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 01 May 2017 21:02:58 +0000
parents d41edd329670
children 6d10869f7a1f
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	fc-cal2text
OBJS=	dircheck.o main.o mkdir.o rftablewr.o smallconv.o
INSTBIN=/opt/freecalypso/bin

all:	${PROG}

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

rftablewr.o:	../../rvinterf/tmsh/rftablewr.c
	${CC} ${CFLAGS} -c -o $@ $<

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

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