view lcdemu/Makefile @ 392:01c97de62dda

fc-fsio help: write-battery-table and write-charging-config documented
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 11 Mar 2018 23:24:52 +0000
parents e7502631a0f9
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	fc-lcdemu
OBJS=	globals.o main.o process.o window.o ximage.o xrm.o
INSTBIN=/usr/local/bin

all:	${PROG}

${PROG}: ${OBJS}
	${CC} ${CFLAGS} -o $@ ${OBJS} -lX11

install:	${PROG}
	mkdir -p ${INSTBIN}
	install -c ${PROG} ${INSTBIN}

clean:
	rm -f *.o *.out *errs ${PROG}