kvisc/ka/Makefile

19 lines
412 B
Makefile
Raw Permalink Normal View History

2019-07-01 13:16:17 +02:00
# 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
2019-08-05 15:55:46 +02:00
KSDIR=../vm/ob
2019-08-21 18:47:03 +02:00
KPDIR=../vm/ob
2019-07-01 13:16:17 +02:00
KSRC = $(shell ls *.k)
KCOM = $(patsubst %.k,$(KODIR)/%.com,$(KSRC))
$(KODIR)/%.com: %.k
2019-08-21 19:10:26 +02:00
@cpp -I. -x assembler-with-cpp $< > $(KSDIR)/$<
@../as/k-as.py $(KSDIR)/$< 0x100000 $@ $(patsubst %.k,$(KSDIR)/%.sym,$<)
2019-07-01 13:16:17 +02:00
dos: $(KCOM)