#
# Makefile for sinfo

AUTOMAKE_OPTIONS = foreign

AM_CPPFLAGS = -I$(top_srcdir) $(BG_INCLUDES)
bin_PROGRAMS = sinfo

sinfo_LDADD = $(top_builddir)/src/api/libslurm.o $(DL_LIBS)

noinst_HEADERS = sinfo.h print.h
sinfo_SOURCES = sinfo.c opts.c print.c sort.c

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

sinfo_LDFLAGS = -export-dynamic $(CMD_LDFLAGS)

