
ADLIB_HOME=@ADLIB_HOME@

all : bin/adapt $(ADLIB_HOME)/lib/libadlib.a lib/libadapt.a

bin/adapt :
	cd src/adapt ; make

$(ADLIB_HOME)/lib/libadlib.a ::
	cd $(ADLIB_HOME) ; make

lib/libadapt.a ::
	cd src/interface ; make

clean :
	cd $(ADLIB_HOME) ; make clean
	cd src/adapt ; make clean
	cd src/interface ; make clean

freshstart : clean
	rm -f  $(ADLIB_HOME)/lib/* bin/adapt bin/ida lib/*

#**************************************
# ALSO:
# compact :  WHICH DELETES ALL SRC & OBJ FILES, AND xxx.in FILES.
#            (GET IT TO PRINT WARNING AND SLEEP FOR, E.G. 60 SECS, BEFORE THIS!
#
# ALSO ADD DESCRIPTION OF OPTIONS.
#**************************************
