xref: /freebsd/contrib/dialog/samples/install/makefile.in (revision 8aac90f18aef7c9eea906c3ff9a001ca7b94f375)
1# $Id: makefile.in,v 1.1 2000/10/08 17:22:53 tom Exp $
2# template makefile for DIALOG sample 'install'
3#
4SHELL		= /bin/sh
5
6prefix		= @prefix@
7exec_prefix	= @exec_prefix@
8
9srcdir		= @srcdir@
10top_builddir	= ../..
11
12DESTDIR		=
13bindir		= $(DESTDIR)@bindir@
14
15CFLAGS		= @CFLAGS@
16CPPFLAGS	= @CPPFLAGS@ @DEFS@ -I$(top_builddir) -I$(srcdir)/../.. -I. -I$(srcdir)
17EXTRA_CFLAGS	= @EXTRA_CFLAGS@
18CC		= @CC@
19LDFLAGS		= @LDFLAGS@
20LIBS		= -L../.. -ldialog @LIBS@
21RANLIB		= @RANLIB@
22
23RM		= rm -f
24
25all: setup
26
27setup: setup.o
28	$(CC) -o $@ setup.o $(LIBS)
29
30clean:
31	rm -f *.o setup
32
33test: setup
34	./setup
35
36