aboutsummaryrefslogtreecommitdiff
path: root/news/bgrab/files/Makefile.dist
blob: d46e79467e6561909a5472bcbde8df92bc63d817 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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