view uicc/Makefile @ 103:3477438b5706 default tip

new fc-simtool command script: oper-sim-test
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 06 Aug 2022 16:34:43 +0000
parents 5560261fc516
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
CPPFLAGS=-I../libcommon
PROG=	fc-uicc-tool
OBJS=	bfsearch.o cmdtab.o createfile.o dumpdir.o erasefile.o getresp.o \
	hlread.o main.o pins.o readcmd.o readef.o readops.o restorebin.o \
	savebin.o select.o sws.o writecmd.o writeops.o
LIBS=	../libcommon/libcommon.a ../libutil/libutil.a

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/bin

all:	${PROG}

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

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

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