1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-03 12:35:02 +00:00
freebsd/usr.sbin/pcvt/fed/Makefile
Jordan K. Hubbard 88644a577e PCVT userland utilities.
Submitted by:	hm
1995-02-05 13:49:25 +00:00

30 lines
589 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: fed
install -c -s -o bin -g bin fed $(DEST)
.endif