view ueda/uschem-print/Makefile @ 30:a93e4b07fdf3

unet-destar: pass attributes through
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sat, 08 Aug 2015 21:23:19 +0000
parents cd92449fdb51
children
line wrap: on
line source

CFLAGS=	-O
OBJS=	decor.o gschemcode.o main.o papersize.o pathnames.o printpage.o \
	prolog.o pstring.o
LIBS=	../libuschem/libuschem.a ../libueda/libueda.a
PROG=	uschem-print
PSFILES=defaultprefs.ps transfont.ps uschem-procset.ps
BINDIR=	/usr/local
SUPDIR=	/usr/local/eda/uschem-support

all:	${PROG}

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

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

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