view lcdemu/Makefile @ 104:f23aa34899a3

target-utils: loadagent converted to our own libc
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 01 Nov 2016 00:28:57 +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}