view uicc/Makefile @ 71:7c9a3130fb66

doc/Formatting-thoughts: typo fix in the word "standardized"
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 06 Apr 2021 05:42:16 +0000
parents 97646b363eaa
children db131929ee96
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 getresp.o hlread.o main.o \
	pins.o readcmd.o readops.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