comparison rvinterf/etmsync/Makefile @ 0:e7502631a0f9

initial import from freecalypso-sw rev 1033:5ab737ac3ad7
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 11 Jun 2016 00:13:35 +0000
parents
children 3d148edb87c2
comparison
equal deleted inserted replaced
-1:000000000000 0:e7502631a0f9
1 CC= gcc
2 CFLAGS= -O2 -I../include
3 PROGS= fc-dspapidump fc-fsio fc-getpirimei fc-olddump fc-pirhackinit
4 INSTBIN=/usr/local/bin
5
6 DSPDUMP_OBJS= connect.o dspapidump.o interf.o launchrvif.o memops.o \
7 simplemain.o
8
9 FSIO_OBJS= connect.o dispatch.o fdcmd.o fileio.o fsbasics.o fscmdtab.o \
10 fserr.o fsiomain.o fsmisc.o fspath.o fsread.o fsupload.o \
11 fswrite.o interf.o launchrvif.o memcmd.o memops.o rfcap.o \
12 stddirs.o symlink.o
13
14 OLDDUMP_OBJS= connect.o interf.o launchrvif.o memops.o olddump.o simplemain.o
15
16 PIRIMEI_OBJS= connect.o interf.o launchrvif.o memops.o pirimei.o \
17 pirimeimain.o simplemain.o
18
19 PIRHACK_OBJS= connect.o fileio.o fserr.o interf.o launchrvif.o memops.o \
20 pirhackinit.o pirimei.o rfcap.o simplemain.o stddirs.o
21
22 all: ${PROGS}
23
24 fc-dspapidump: ${DSPDUMP_OBJS}
25 ${CC} ${CFLAGS} -o $@ ${DSPDUMP_OBJS}
26
27 fc-fsio: ${FSIO_OBJS}
28 ${CC} ${CFLAGS} -o $@ ${FSIO_OBJS}
29
30 fc-olddump: ${OLDDUMP_OBJS}
31 ${CC} ${CFLAGS} -o $@ ${OLDDUMP_OBJS}
32
33 fc-getpirimei: ${PIRIMEI_OBJS}
34 ${CC} ${CFLAGS} -o $@ ${PIRIMEI_OBJS} -lcrypto
35
36 fc-pirhackinit: ${PIRHACK_OBJS}
37 ${CC} ${CFLAGS} -o $@ ${PIRHACK_OBJS} -lcrypto
38
39 install: ${PROGS}
40 mkdir -p ${INSTBIN}
41 install -c ${PROGS} ${INSTBIN}
42
43 clean:
44 rm -f *.o *.out *errs ${PROGS}