FreeCalypso > hg > freecalypso-sw
annotate miscutil/Makefile @ 668:94ef3f115ae2
gsm-fw/comlib/cl_list.c: compiles after including config.h and fixedconf.h
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 28 Sep 2014 07:34:57 +0000 |
parents | 3822f3b198d4 |
children | 813287f7169c |
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 |