# Makefile for the picard program.

prefix      = @prefix@
exec_prefix = @exec_prefix@

bindir = @bindir@

srcdir = @srcdir@
VPATH  = @srcdir@

CC       = @CC@
DEFS     = @DEFS@
CPPFLAGS = @CPPFLAGS@ $(DEFS)
CFLAGS   = @CFLAGS@
LIBS     = @LIBS@
LDFLAGS  = @LDFLAGS@

INSTALL         = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA    = @INSTALL_DATA@

all: picard

clean:
	rm -f a.out core *.o picard

realclean: clean

distclean: clean
	rm -f confdefs.h config.status config.log config.cache conf.h
	rm -f Makefile

install: picard
	$(INSTALL_PROGRAM) picard $(bindir)

picard: picard.o
	$(CC) $(LDFLAGS) -o $@ $? $(LIBS)
