annotate miscutil/Makefile @ 689:8b1121359341

cc_cfk.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 30 Sep 2014 01:20:27 +0000
parents 3822f3b198d4
children 813287f7169c
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
434
3822f3b198d4 fc-serterm: written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 271
diff changeset
3 PROGS= 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
3822f3b198d4 fc-serterm: written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 271
diff changeset
10 fc-serterm: ${SERTERM_OBJS}
3822f3b198d4 fc-serterm: written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 271
diff changeset
11 ${CC} ${CFLAGS} -o $@ ${SERTERM_OBJS}
3822f3b198d4 fc-serterm: written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 271
diff changeset
12
3822f3b198d4 fc-serterm: written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 271
diff changeset
13 ttypassthru.o: ../loadtools/ttypassthru.c
3822f3b198d4 fc-serterm: written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 271
diff changeset
14 ${CC} ${CFLAGS} -c -o $@ $<
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 imei-luhn: imei-luhn.c
271
cd043e690621 imei-luhn utility written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
17 ${CC} ${CFLAGS} -o $@ $@.c
cd043e690621 imei-luhn utility written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18
434
3822f3b198d4 fc-serterm: written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 271
diff changeset
19 install:
271
cd043e690621 imei-luhn utility written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
20 mkdir -p ${INSTBIN}
cd043e690621 imei-luhn utility written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
21 install -c ${PROGS} ${INSTBIN}
cd043e690621 imei-luhn utility written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
22
cd043e690621 imei-luhn utility written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
23 clean:
cd043e690621 imei-luhn utility written
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
24 rm -f ${PROGS} *.o *errs *.out