view lcdemu/Makefile @ 214:b0de6d36e84c

loadtools/gta-ap-build.sed: don't build fc-compalram or fc-buzplay for GTA0x AP
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 19 May 2017 06:29:06 +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}