.SUFFIXES: .o .c .depend

OBJECT = fastDNAml.o
TARGET = $(ARBHOME)/bin/fastdnaml

all : $(TARGET)

$(TARGET) : $(OBJECT)
	$(A_CC) $(cflags) -o $@ $< -lm

.c.o:
	$(A_CC) $(cflags) -c -o $@ $< $(CC_INCLUDES) $(POST_COMPILE)

clean:
	rm -f $(OBJECT) $(TARGET)

DEPENDS = $(OBJECT:.o=.depend)
depends: $(DEPENDS)
	@cat $(DEPENDS) | grep -v '^#' >>Makefile
	@rm $(DEPENDS)
$(DEPENDS): depend.init
depend.init:
	$(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies
.c.depend:
	$(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@

# DO NOT DELETE

# Do not add dependencies manually - use 'make depend' in $ARBHOME
# For formatting issues see SOURCE_TOOLS/fix_depends.pl (from GDE)

fastDNAml.o: fastDNAml.h
