1# Makefile for gplcpt
2#
3# (c) J.J.Green 2010
4
5NAME = gplcpt
6
7OBJ      =  gplcpt.o main.o options.o
8RUBBISH += $(OBJ) gplcpt
9
10LDLIBS += -lcpt -lfill -lbt
11
12default : all
13
14all : gplcpt gplcpt.1
15
16install :
17	$(INSTALL_DATA) gplcpt.1 $(DESTDIR)$(mandir)/man1/gplcpt.1
18	$(INSTALL_PROGRAM) gplcpt $(DESTDIR)$(bindir)/gplcpt
19
20clean :
21	$(RM) $(RUBBISH)
22
23veryclean :
24
25.PHONEY    : all install clean veryclean
26
27gplcpt : $(OBJ)
28
29include ../Common.mk
30
31test check : accept
32