mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
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
|