FreeCalypso > hg > freecalypso-sw
comparison miscutil/Makefile @ 434:3822f3b198d4
fc-serterm: written
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 22 Jun 2014 01:21:10 +0000 |
parents | cd043e690621 |
children | 813287f7169c |
comparison
equal
deleted
inserted
replaced
433:2d8ab1b0df8d | 434:3822f3b198d4 |
---|---|
1 CC= gcc | 1 CC= gcc |
2 CFLAGS= -O2 | 2 CFLAGS= -O2 |
3 PROGS= imei-luhn | 3 PROGS= fc-serterm imei-luhn |
4 INSTBIN=/usr/local/bin | 4 INSTBIN=/usr/local/bin |
5 | 5 |
6 all: ${PROGS} | 6 all: ${PROGS} |
7 | 7 |
8 ${PROGS}: | 8 SERTERM_OBJS= fc-serterm.o openport.o ttypassthru.o |
9 | |
10 fc-serterm: ${SERTERM_OBJS} | |
11 ${CC} ${CFLAGS} -o $@ ${SERTERM_OBJS} | |
12 | |
13 ttypassthru.o: ../loadtools/ttypassthru.c | |
14 ${CC} ${CFLAGS} -c -o $@ $< | |
15 | |
16 imei-luhn: imei-luhn.c | |
9 ${CC} ${CFLAGS} -o $@ $@.c | 17 ${CC} ${CFLAGS} -o $@ $@.c |
10 | 18 |
11 imei-luhn: imei-luhn.c | 19 install: |
12 | |
13 install: ${PROGS} | |
14 mkdir -p ${INSTBIN} | 20 mkdir -p ${INSTBIN} |
15 install -c ${PROGS} ${INSTBIN} | 21 install -c ${PROGS} ${INSTBIN} |
16 | 22 |
17 clean: | 23 clean: |
18 rm -f ${PROGS} *.o *errs *.out | 24 rm -f ${PROGS} *.o *errs *.out |