comparison miscutil/Makefile @ 0:e7502631a0f9

initial import from freecalypso-sw rev 1033:5ab737ac3ad7
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 11 Jun 2016 00:13:35 +0000
parents
children 7eaa3307e5df
comparison
equal deleted inserted replaced
-1:000000000000 0:e7502631a0f9
1 CC= gcc
2 CFLAGS= -O2
3 PROGS= fc-rgbconv fc-serterm imei-luhn
4 INSTBIN=/usr/local/bin
5
6 all: ${PROGS}
7
8 SERTERM_OBJS= fc-serterm.o openport.o ttypassthru.o
9
10 fc-rgbconv: fc-rgbconv.c
11 ${CC} ${CFLAGS} -o $@ $@.c
12
13 fc-serterm: ${SERTERM_OBJS}
14 ${CC} ${CFLAGS} -o $@ ${SERTERM_OBJS}
15
16 ttypassthru.o: ../loadtools/ttypassthru.c
17 ${CC} ${CFLAGS} -c -o $@ $<
18
19 imei-luhn: imei-luhn.c
20 ${CC} ${CFLAGS} -o $@ $@.c
21
22 install:
23 mkdir -p ${INSTBIN}
24 install -c ${PROGS} ${INSTBIN}
25
26 clean:
27 rm -f ${PROGS} *.o *errs *.out