annotate rvinterf/ctracedec/Makefile @ 997:c7ca69bf84f3

gsm-fw: trivial support for c11x target
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sat, 05 Mar 2016 05:10:49 +0000
parents d32dff865575
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
859
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
1 CC= gcc
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
2 CFLAGS= -O2
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
3 PROG= ctracedec
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
4 OBJS= decode.o doprnt.o main.o processlog.o readtab.o
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
5 INSTBIN=/usr/local/bin
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
6
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
7 all: ${PROG}
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
8
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
9 ${PROG}: ${OBJS}
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
10 ${CC} ${CFLAGS} -o $@ ${OBJS}
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
11
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
12 install: ${PROG}
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
13 mkdir -p ${INSTBIN}
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
14 install -c ${PROG} ${INSTBIN}
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
15
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
16 clean:
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
17 rm -f *.o *.out *errs ${PROG}