FreeCalypso > hg > freecalypso-tools
diff ffstools/newcomp/Makefile @ 318:182c3ae209f6
compile-fc-batt tool written, compiles
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 17 Dec 2017 00:57:42 +0000 |
parents | |
children | 7572c35a768a |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ffstools/newcomp/Makefile Sun Dec 17 00:57:42 2017 +0000 @@ -0,0 +1,16 @@ +CC= gcc +CFLAGS= -O2 +PROGS= compile-fc-batt +INSTBIN=/opt/freecalypso/bin + +all: ${PROGS} + +compile-fc-batt: compile-fc-batt.c + ${CC} ${CFLAGS} -o $@ $@.c + +install: ${PROGS} + mkdir -p ${INSTBIN} + install -c ${PROGS} ${INSTBIN} + +clean: + rm -f ${PROGS}