view lcdemu/Makefile @ 915:7b805007dcfc

etmsync: slight "main" refactoring in preparation for multiple programs
author Space Falcon <falcon@ivan.Harhan.ORG>
date Tue, 08 Sep 2015 18:26:42 +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}