$NetBSD: patch-aa,v 1.2 2008/06/20 01:09:08 joerg Exp $ --- Makefile.orig Thu Apr 8 01:39:45 1999 +++ Makefile @@ -1,12 +1,18 @@ -CC = gcc +#CC = gcc #CFLAGS = -I. -CFLAGS = -I. -Wall -g #-pg -LDFLAGS = #-pg +#CFLAGS = -I. -Wall -g #-pg +#LDFLAGS = #-pg +CFLAGS+= -I. OBJS = GDSreader.o GDSmain.o GDSaux.o GDSboundary.o GDSpath.o \ GDSsref.o GDSaref.o GDStext.o GDSnode.o GDSbox.o GDStoHPGL.o \ GDSstruct.o GDStransf.o GDStoPS.o GDSparser.o + +all: gdsreader + +install: gdsreader + ${BSD_INSTALL_PROGRAM} gdsreader ${DESTDIR}${PREFIX}/bin gdsreader: ${OBJS} ${CC} ${LDFLAGS} -o gdsreader ${OBJS} -lm