# $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
exec_prefix	= /usr

srcdir		= .
top_builddir	= ../..

DESTDIR		=
bindir		= $(DESTDIR)/usr/bin

CFLAGS		= -pipe -Wall -g -O2 -fomit-frame-pointer -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -mthumb
CPPFLAGS	=  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/include/ncursesw -DHAVE_CONFIG_H -I$(top_builddir) -I$(srcdir)/../.. -I. -I$(srcdir)
EXTRA_CFLAGS	= 
CC		= armh-alt-linux-gnueabi-gcc
LDFLAGS		= 
LIBS		= -L../.. -ldialog -L/usr/lib -lncursesw -lm 
RANLIB		= ranlib

RM		= rm -f

all: setup

setup: setup.o
	$(CC) -o $@ setup.o $(LIBS)

clean:
	rm -f *.o setup

test: setup
	./setup

