xref: /freebsd/contrib/dialog/samples/install/makefile.in (revision dd41de95a84d979615a2ef11df6850622bf6184e)
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