freebsd-nq/usr.sbin/pcvt/fed/Makefile
Bruce Evans 02bbe20fc1 Don't build files at install time (just to be consistent; the problem
is almost harmless here).

Submitted by:	Arne Henrik Juul <arnej@stud.math.ntnu.no>
PR:		6330
1998-04-20 15:28:02 +00:00

30 lines
588 B
Makefile

.if !exists(${.CURDIR}/../Makefile.inc)
error:
@echo
@echo " You MUST link/copy"
@echo
@echo " ../Makefile.inc.NetBSD or ../Makefile.inc.FreeBSD"
@echo
@echo " to ../Makefile.inc before you can proceed !"
@echo
.else
#CFLAGS = -g -Wall -pipe
CFLAGS = -O -Wall -pipe -I/usr/local/include
OBJS = fed.o select.o edit.o misc.o
LIB = ncurses
DEST = /usr/local/bin
fed: $(OBJS)
$(CC) -o fed $(OBJS) -l$(LIB) -L/usr/local/lib
$(OBJS): fed.h
clean:
rm -f *.o fed *core* trace*
install:
${INSTALL} -c -s -o bin -g bin fed $(DEST)
.endif