freebsd-ports/news/bgrab/files/Makefile.dist
Kirill Ponomarev 9fc0a9005a - Update MASTER_SITES and WWW: line
PR:		59468
Submitted by:	Ports Fury
2003-11-19 15:04:34 +00:00

20 lines
444 B
Text

OBJ = main.o server.o screen.o tree.o multipart.o grouplist.o \
findfile.o parsecfgfile.o MessageIdStore.o
CXX ?= g++
CXXFLAGS ?= -O6
CXXFLAGS += -DFREEBSD
LIBS = -lncurses
PREFIX ?= /usr/local
DEST = $(PREFIX)/bin
INSTALL_PROGRAM ?= install -c -s -o root -g wheel -m 555
bgrab: $(OBJ) Makefile common.h
$(CXX) $(LIBS) -o bgrab $(OBJ)
clean:
rm -f $(OBJ) bgrab
install: bgrab
$(INSTALL_PROGRAM) bgrab $(DEST)/bgrab
all: bgrab