FreeCalypso > hg > fc-sim-tools
diff uicc/Makefile @ 15:b70d35f5476f
fc-uicc-tool ported over
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 14 Mar 2021 07:41:09 +0000 |
parents | |
children | 53f8a1146a56 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/uicc/Makefile Sun Mar 14 07:41:09 2021 +0000 @@ -0,0 +1,20 @@ +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 writecmd.o writeops.o +LIBS= ../libcommon/libcommon.a ../libutil/libutil.a +INSTBIN=/opt/freecalypso/bin + +all: ${PROG} + +${PROG}: ${OBJS} ${LIBS} + ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} + +install: + mkdir -p ${INSTBIN} + install -c ${PROG} ${INSTBIN} + +clean: + rm -f ${PROG} *.o