view ueda/sverp/Makefile @ 152:d41cdd682db5

m4-fp: support for CUI DS04-254-SMT DIP switch series
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 24 Jun 2021 05:13:16 +0000
parents 7b4f78fcca08
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
OBJS=	elaborate.o lexer.o link.o main.o misc.o output.o prim.o vparse.o
LIBS=	../libueda/libueda.a
PROG=	ueda-sverp
BINDIR=	/usr/local/bin

all:	${PROG}

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

install:
	install -c -o bin -g bin -m 755 ${PROG} ${BINDIR}

clean:
	rm -f *.[ao] a.out core errs ${PROG}