#

all: README.ps README.pdf
all1: README.ps README.pdf MEM SHM SEM

MEM:
	( cd Messages ; make -i  )
SHM:
	( cd SharedMemmory ; make -i  )
SEM:
	( cd Semaphore ; make -i  )

README.ps: README
	a2ps  --prologue=bold -c --columns=1  -R  -L 50  \
	--output=README.ps -B \
	--center-title="4.2.Prozesskommunikation_POSIX" \
	--right-title="%F" \
	--right-footer="Seite %p.    " \
	--left-footer="  j-p bell" README
README.pdf: README.ps
	ps2pdf -sPAPERSIZE=a4 README.ps README.pdf

clean: RE ME SH SE

RE:
	-rm -f  README.ps
	-rm -f  README.pdf
ME:
	( cd Messages ; make -i clean )
SH:
	( cd SharedMemmory ; make -i clean )
SE:
	( cd Semaphore ; make -i clean )
