annotate miscutil/Makefile @ 1000:36e3f6bf0156

top README: just describe what each subtree is for, and refer to other docs
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sun, 06 Mar 2016 21:38:21 +0000
parents 813287f7169c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
271
cd043e690621 imei-luhn utility written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 CC= gcc
cd043e690621 imei-luhn utility written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 CFLAGS= -O2
961
813287f7169c fc-rgbconv utility written and added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 434
diff changeset
3 PROGS= fc-rgbconv fc-serterm imei-luhn
271
cd043e690621 imei-luhn utility written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4 INSTBIN=/usr/local/bin
cd043e690621 imei-luhn utility written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5
cd043e690621 imei-luhn utility written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6 all: ${PROGS}
cd043e690621 imei-luhn utility written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7
434
3822f3b198d4 fc-serterm: written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 271
diff changeset
8 SERTERM_OBJS= fc-serterm.o openport.o ttypassthru.o
3822f3b198d4 fc-serterm: written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 271
diff changeset
9
961
813287f7169c fc-rgbconv utility written and added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 434
diff changeset
10 fc-rgbconv: fc-rgbconv.c
813287f7169c fc-rgbconv utility written and added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 434
diff changeset
11 ${CC} ${CFLAGS} -o $@ $@.c
813287f7169c fc-rgbconv utility written and added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 434
diff changeset
12
434
3822f3b198d4 fc-serterm: written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 271
diff changeset
13 fc-serterm: ${SERTERM_OBJS}
3822f3b198d4 fc-serterm: written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 271
diff changeset
14 ${CC} ${CFLAGS} -o $@ ${SERTERM_OBJS}
3822f3b198d4 fc-serterm: written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 271
diff changeset
15
3822f3b198d4 fc-serterm: written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 271
diff changeset
16 ttypassthru.o: ../loadtools/ttypassthru.c
3822f3b198d4 fc-serterm: written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 271
diff changeset
17 ${CC} ${CFLAGS} -c -o $@ $<
3822f3b198d4 fc-serterm: written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 271
diff changeset
18
3822f3b198d4 fc-serterm: written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 271
diff changeset
19 imei-luhn: imei-luhn.c
271
cd043e690621 imei-luhn utility written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
20 ${CC} ${CFLAGS} -o $@ $@.c
cd043e690621 imei-luhn utility written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
21
434
3822f3b198d4 fc-serterm: written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 271
diff changeset
22 install:
271
cd043e690621 imei-luhn utility written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
23 mkdir -p ${INSTBIN}
cd043e690621 imei-luhn utility written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
24 install -c ${PROGS} ${INSTBIN}
cd043e690621 imei-luhn utility written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
25
cd043e690621 imei-luhn utility written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
26 clean:
cd043e690621 imei-luhn utility written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
27 rm -f ${PROGS} *.o *errs *.out