view lcdemu/Makefile @ 968:2d986b8c0e4e

doc/Compiling: added explanation of extra host tools with library dependencies
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sat, 07 Nov 2015 04:53:24 +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}