comparison 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
comparison
equal deleted inserted replaced
9:c9ef9e91dd8e 10:ddd767f6e15b
1 CC= gcc
2 CFLAGS= -O2
3 CPPFLAGS=-I../libcommon
4 PROG= fc-simtool
5 OBJS= a38.o bfsearch.o chv.o chvext.o curfile.o dispatch.o dumpdir.o \
6 erasefile.o fplmn.o getresp.o grcard1.o grcard2.o hlread.o \
7 inval_rehab.o lndwrite.o main.o miscadm.o opldump.o oplprog.o \
8 pbcommon.o pbdump.o pberase.o pbrestore.o pbupd_imm.o pbupd_immhex.o \
9 plmnsel.o pnndump.o pnnprog.o readcmd.o readef.o readops.o restorebin.o\
10 savebin.o script.o select.o sjs1_hacks.o smserase.o smsp_common.o \
11 smsp_dump.o smsp_erase.o smsp_restore.o smsp_set.o sstlist.o sstprog.o \
12 stktest.o telsum.o usersum.o writecmd.o writeops.o
13 LIBS= ../libcommon/libcommon.a ../libutil/libutil.a
14 INSTBIN=/opt/freecalypso/bin
15
16 all: ${PROG}
17
18 ${PROG}: ${OBJS} ${LIBS}
19 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}
20
21 install:
22 mkdir -p ${INSTBIN}
23 install -c ${PROG} ${INSTBIN}
24
25 clean:
26 rm -f ${PROG} *.o