FreeCalypso > hg > fc-sim-tools
diff simtool/Makefile @ 10:ddd767f6e15b
fc-simtool ported over
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 14 Mar 2021 07:11:25 +0000 |
parents | |
children | b7ee2e85686b |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/simtool/Makefile Sun Mar 14 07:11:25 2021 +0000 @@ -0,0 +1,26 @@ +CC= gcc +CFLAGS= -O2 +CPPFLAGS=-I../libcommon +PROG= fc-simtool +OBJS= a38.o bfsearch.o chv.o chvext.o curfile.o dispatch.o dumpdir.o \ + erasefile.o fplmn.o getresp.o grcard1.o grcard2.o hlread.o \ + inval_rehab.o lndwrite.o main.o miscadm.o opldump.o oplprog.o \ + pbcommon.o pbdump.o pberase.o pbrestore.o pbupd_imm.o pbupd_immhex.o \ + plmnsel.o pnndump.o pnnprog.o readcmd.o readef.o readops.o restorebin.o\ + savebin.o script.o select.o sjs1_hacks.o smserase.o smsp_common.o \ + smsp_dump.o smsp_erase.o smsp_restore.o smsp_set.o sstlist.o sstprog.o \ + stktest.o telsum.o usersum.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