view ffstools/caltools/Makefile @ 370:076d533f840d

fcup-smsend: implemented automatic concat SMS refno generation
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 08 Mar 2018 17:47:58 +0000
parents 79434b9de159
children f4a32c1025a2
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	c1xx-calextr fc-cal2bin
INSTBIN=/opt/freecalypso/bin

all:	${PROGS}

LIBRFTAB=	../../librftab/librftab.a

CAL2BIN_OBJS=	fc-cal2bin.o ${LIBRFTAB}

CALEXTR_OBJS=	c1xx-calextr.o mkdir.o ${LIBRFTAB}

fc-cal2bin:	${CAL2BIN_OBJS}
	${CC} ${CFLAGS} -o $@ ${CAL2BIN_OBJS}

c1xx-calextr:	${CALEXTR_OBJS}
	${CC} ${CFLAGS} -o $@ ${CALEXTR_OBJS}

mkdir.o:	../cal2text/mkdir.c
	${CC} ${CFLAGS} -c -o $@ $<

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

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