freebsd-ports/news/bgrab/files/Makefile.dist
2001-01-21 03:45:01 +00:00

21 lines
399 B
Makefile

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 ?= install
bgrab: $(OBJ) Makefile common.h
$(CXX) $(LIBS) -o bgrab $(OBJ)
clean:
rm -f $(OBJ) bgrab
install: bgrab
$(INSTALL) bgrab $(DEST)/bgrab
all: bgrab