single sem for KOS; new makefile