#!gmake

# compile everything
compile:
	cd wnsum; make compile; cd ..
	cd gendoc; make compile; cd ..
#	cd wncrypt; make compile; cd ..
	cd hex/fromhex; make compile; cd ../..
	cd hex/tohex; make compile; cd ../..
	cd wnlint; make compile; cd ..
	cd shatter; make compile; cd ..

# remove objects 
clean:
	cd wnsum; make clean; cd ..
	cd gendoc; make clean; cd ..
#	cd wncrypt; make clean; cd ..
	cd hex/fromhex; make clean; cd ../..
	cd hex/tohex; make clean; cd ../..
	cd wnlint; make clean; cd ..
	cd shatter; make clean; cd ..

# make everything
all: 
	cd wnsum; make all; cd ..
	cd gendoc; make all; cd ..
#	cd wncrypt; make all; cd ..
	cd hex/fromhex; make all; cd ../..
	cd hex/tohex; make all; cd ../..
	cd wnlint; make all; cd ..
	cd shatter; make all; cd ..

