# The OS/K Team licenses this file to you under the MIT license.
# See the LICENSE file in the project root for more information.

all: dos

KODIR=../fs

KSRC = $(shell ls *.k)
KCOM = $(patsubst %.k,$(KODIR)/%.com,$(KSRC))

$(KODIR)/%.com: %.k
	@../as/k-as.py $< 0x100000 $@ $(patsubst %.k,$(KODIR)/%.sym,$<)

dos: $(KCOM)