# Makefile

include ../../Mkinclude

SUBDIR1		= renritu special_function DFT

TARGET		= lib${LIB_NAME}_sub.a

all:
	@for i in $(SUBDIR1) ; do \
	  cd $$i ; \
	  $(MAKE) ; \
	  mv *.o ../ ; \
	  cd ../ ; \
	done
	ar r $(TARGET) *.o
	ranlib $(TARGET)
	mv $(TARGET) ../
