diff options
Diffstat (limited to 'usr.sbin/pcvt/fed/Makefile')
-rw-r--r-- | usr.sbin/pcvt/fed/Makefile | 32 |
1 files changed, 5 insertions, 27 deletions
diff --git a/usr.sbin/pcvt/fed/Makefile b/usr.sbin/pcvt/fed/Makefile index c96ad03..6147ef9 100644 --- a/usr.sbin/pcvt/fed/Makefile +++ b/usr.sbin/pcvt/fed/Makefile @@ -1,29 +1,7 @@ +# $FreeBSD$ -.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 +PROG = fed +SRCS = fed.c select.c edit.c misc.c +LDADD = -lncurses -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 +.include <bsd.prog.mk> |