freebsd-dev/contrib/global/btreeop/Makefile.generic
Chris Timmons 43c4a137c1 Import global v2.0 as contributed software. We will maintain it this
way, retiring the sources from usr.bin/global shortly.

Reviewed by: jdp
Discussed-with: obrien
1997-08-16 04:13:58 +00:00

23 lines
467 B
Makefile

# @(#)Makefile 29-Dec-96
PROG = btreeop
CC = gcc
#WARN = -Wall -Wparentheses -Wstrict-prototypes -Wmissing-prototypes
LIBS = -ldb
CFLAGS = -O -I../include
OBJS = btreeop.o err.o
BINDIR = /usr/bin
MANDIR = /usr/share/man
all: $(PROG)
$(PROG): $(OBJS)
$(CC) -o $(PROG) $(OBJS) $(LIBS)
install:
cp $(PROG) $(BINDIR)
chmod 755 $(BINDIR)/$(PROG)
cp $(PROG).1 $(MANDIR)/man1
chmod 644 $(MANDIR)/man1/$(PROG).1
clean:
rm -f $(PROG) $(OBJS) GTAGS GRTAGS