kvisc/ka/Makefile

19 lines
412 B
Makefile

# 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
KSDIR=../vm/ob
KPDIR=../vm/ob
KSRC = $(shell ls *.k)
KCOM = $(patsubst %.k,$(KODIR)/%.com,$(KSRC))
$(KODIR)/%.com: %.k
@cpp -I. -x assembler-with-cpp $< > $(KSDIR)/$<
@../as/k-as.py $(KSDIR)/$< 0x100000 $@ $(patsubst %.k,$(KSDIR)/%.sym,$<)
dos: $(KCOM)