1
0
mirror of https://gitlab.os-k.eu/os-k-team/kvisc.git synced 2023-08-25 14:05:46 +02:00
kvisc/ka/Makefile
julianb0 8ec0bffa53
ppc
2019-08-21 18:47:03 +02:00

20 lines
502 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)
KPPC = $(patsubst %.k,$(KODIR)/%.ppc,$(KSRC))
KCOM = $(patsubst %.k,$(KODIR)/%.com,$(KSRC))
$(KODIR)/%.com: %.k
@cpp -I. -x assembler-with-cpp $< > $(patsubst %.k,$(KODIR)/%.ppc,$<)
@../as/k-as.py $(patsubst %.k,$(KODIR)/%.ppc,$<) 0x100000 $@ $(patsubst %.k,$(KSDIR)/%.sym,$<)
dos: $(KCOM)