comparison ffstools/newcomp/Makefile @ 320:7572c35a768a

compile-fc-chg tool written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 17 Dec 2017 02:25:05 +0000
parents 182c3ae209f6
children 90d7c360a614
comparison
equal deleted inserted replaced
319:cbb6ebf665fa 320:7572c35a768a
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= compile-fc-batt 3 PROGS= compile-fc-batt compile-fc-chg
4 INSTBIN=/opt/freecalypso/bin 4 INSTBIN=/opt/freecalypso/bin
5 5
6 all: ${PROGS} 6 all: ${PROGS}
7 7
8 compile-fc-batt: compile-fc-batt.c 8 compile-fc-batt: compile-fc-batt.c
9 ${CC} ${CFLAGS} -o $@ $@.c
10
11 compile-fc-chg: compile-fc-chg.c
9 ${CC} ${CFLAGS} -o $@ $@.c 12 ${CC} ${CFLAGS} -o $@ $@.c
10 13
11 install: ${PROGS} 14 install: ${PROGS}
12 mkdir -p ${INSTBIN} 15 mkdir -p ${INSTBIN}
13 install -c ${PROGS} ${INSTBIN} 16 install -c ${PROGS} ${INSTBIN}