FreeCalypso > hg > freecalypso-sw
annotate miscutil/Makefile @ 962:f4da3071dd61
doc/High-speed-serial write-up and Linux kernel patch added
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Fri, 06 Nov 2015 21:46:05 +0000 |
parents | 813287f7169c |
children |
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 |