# $Id$
#
# Makefile for smap

AUTOMAKE_OPTIONS = foreign

LIBS=-lcurses
INCLUDES = -I$(top_srcdir) -I 
bin_PROGRAMS = smap

smap_LDADD =					  \
	$(top_builddir)/src/common/libcommon.la   \
	$(top_builddir)/src/api/libslurm.la

noinst_HEADERS = smap.h 
smap_SOURCES = smap.c job_functions.c partition_functions.c configure_functions.c grid_functions.c opts.c

force:
$(smap_LDADD) : force
	@cd `dirname $@` && $(MAKE) `basename $@`

smap_LDFLAGS = -export-dynamic $(CMD_LDFLAGS)

