43c4a137c1
way, retiring the sources from usr.bin/global shortly. Reviewed by: jdp Discussed-with: obrien
23 lines
467 B
Makefile
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
|