view lcdemu/Makefile @ 949:df1dccc0ef9c

c139explore: GPIO init and backlight on/off control implemented
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Wed, 04 Nov 2015 00:46:36 +0000
parents 69623c4cbf6c
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}