binaries:
	if test ! -d bin;  then mkdir bin;  chmod 755 bin;  fi
	if test ! -d bin/@GAPARCH@;  then mkdir bin/@GAPARCH@;  chmod 755 bin/@GAPARCH@;  fi
	( cd nauty22; rm -f *.o config.log config.cache config.status makefile; ./configure; make dreadnautB; mv dreadnautB ../bin/@GAPARCH@; chmod 755 ../bin/@GAPARCH@/dreadnautB; rm -f *.o )

clean:
	( cd nauty22; make clean )
	rm -rf bin/@GAPARCH@
