FreeCalypso > hg > fc-sim-tools
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 14:b7ee2e85686b | 15:b70d35f5476f |
|---|---|
| 1 CC= gcc | |
| 2 CFLAGS= -O2 | |
| 3 CPPFLAGS=-I../libcommon | |
| 4 PROG= fc-uicc-tool | |
| 5 OBJS= bfsearch.o cmdtab.o createfile.o dumpdir.o getresp.o hlread.o main.o \ | |
| 6 pins.o readcmd.o readops.o select.o writecmd.o writeops.o | |
| 7 LIBS= ../libcommon/libcommon.a ../libutil/libutil.a | |
| 8 INSTBIN=/opt/freecalypso/bin | |
| 9 | |
| 10 all: ${PROG} | |
| 11 | |
| 12 ${PROG}: ${OBJS} ${LIBS} | |
| 13 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} | |
| 14 | |
| 15 install: | |
| 16 mkdir -p ${INSTBIN} | |
| 17 install -c ${PROG} ${INSTBIN} | |
| 18 | |
| 19 clean: | |
| 20 rm -f ${PROG} *.o |
