FreeCalypso > hg > freecalypso-sw
diff 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 |
line wrap: on
line diff
--- a/miscutil/Makefile Sun Jun 22 00:17:44 2014 +0000 +++ b/miscutil/Makefile Sun Jun 22 01:21:10 2014 +0000 @@ -1,16 +1,22 @@ CC= gcc CFLAGS= -O2 -PROGS= imei-luhn +PROGS= fc-serterm imei-luhn INSTBIN=/usr/local/bin all: ${PROGS} -${PROGS}: +SERTERM_OBJS= fc-serterm.o openport.o ttypassthru.o + +fc-serterm: ${SERTERM_OBJS} + ${CC} ${CFLAGS} -o $@ ${SERTERM_OBJS} + +ttypassthru.o: ../loadtools/ttypassthru.c + ${CC} ${CFLAGS} -c -o $@ $< + +imei-luhn: imei-luhn.c ${CC} ${CFLAGS} -o $@ $@.c -imei-luhn: imei-luhn.c - -install: ${PROGS} +install: mkdir -p ${INSTBIN} install -c ${PROGS} ${INSTBIN}