view lcdpoll/Makefile @ 4:839a63f0efda

top Makefile created
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 14 Mar 2018 23:06:37 +0000
parents 06e900c54ae3
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I/opt/freecalypso/include
PROG=	fc-lcdpoll
OBJS=	connect.o interf.o launchrvif.o main.o memops.o
INSTBIN=/opt/freecalypso/bin

all:	${PROG}

${PROG}: ${OBJS}
	${CC} ${CFLAGS} -o $@ ${OBJS}

install:	${PROG}
	mkdir -p ${INSTBIN}
	install -c ${PROG} ${INSTBIN}

clean:
	rm -f *.o *.out *errs ${PROG}