36 lines
585 B
Makefile
36 lines
585 B
Makefile
# $Id: makefile.in,v 1.1 2000/10/08 17:22:53 tom Exp $
|
|
# template makefile for DIALOG sample 'install'
|
|
#
|
|
SHELL = /bin/sh
|
|
|
|
prefix = /usr/local
|
|
exec_prefix = ${prefix}
|
|
|
|
srcdir = .
|
|
top_builddir = ../..
|
|
|
|
DESTDIR =
|
|
bindir = $(DESTDIR)${exec_prefix}/bin
|
|
|
|
CFLAGS = -g -O2
|
|
CPPFLAGS = -D_GNU_SOURCE -DHAVE_CONFIG_H -I$(top_builddir) -I$(srcdir)/../.. -I. -I$(srcdir)
|
|
EXTRA_CFLAGS =
|
|
CC = gcc
|
|
LDFLAGS =
|
|
LIBS = -L../.. -ldialog -lncurses -lm -L/lib
|
|
RANLIB = ranlib
|
|
|
|
RM = rm -f
|
|
|
|
all: setup
|
|
|
|
setup: setup.o
|
|
$(CC) -o $@ setup.o $(LIBS)
|
|
|
|
clean:
|
|
rm -f *.o setup
|
|
|
|
test: setup
|
|
./setup
|
|
|