view ffstools/cal2text/Makefile @ 366:9f856f843620

uptools/atcmd: smsend_basic.c renamed to smsend_main.c
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 08 Mar 2018 07:09:37 +0000
parents 6d10869f7a1f
children 90d7c360a614
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
INSTBIN=/opt/freecalypso/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