GNUmakefile.in 465 Bytes
Newer Older
1 2 3 4 5 6
SRCDIR		= @srcdir@
TESTBED_SRCDIR	= @top_srcdir@
OBJDIR		= ..
SUBDIR		= tip

include $(OBJDIR)/Makeconf
7

8
all:	tip
9

10
include $(TESTBED_SRCDIR)/GNUmakerules
11

12
CC = gcc -g -O2
13

14 15
OBJS = cmds.o cmdtab.o hunt.o partab.o \
       remote.o tip.o value.o vars.o getcap.o
16

17 18 19 20
#
# If HAVE_UUCPLOCK is defined you need -lutil for BSD
#
LIBS=
21

22 23
tip:	$(OBJS)
	$(CC) -static -o tip $(OBJS) $(LIBS)
24

25 26
$(OBJS): tipconf.h tip.h

27
install:	all $(INSTALL_BINDIR)/tip
28

29
clean:
30
	rm -f $(OBJS) tip