diff options
author | Xander <xander@icth.xyz> | 2023-06-30 21:25:18 +0200 |
---|---|---|
committer | Xander <xander@icth.xyz> | 2023-06-30 21:27:18 +0200 |
commit | e9b14562b46f230e7208ea3dad8d836f73e8f100 (patch) | |
tree | 3cfa4355c7e48e295e4b362e6266936a20b2274b /Makefile | |
parent | 3f846ecba11a66d7679a68c187d4f6e3560af5e6 (diff) | |
download | ats-os-e9b14562b46f230e7208ea3dad8d836f73e8f100.tar.xz ats-os-e9b14562b46f230e7208ea3dad8d836f73e8f100.zip |
Modulating print
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -12,7 +12,7 @@ dats_source_files := $(wildcard kernel/*.dats) dats_object_files := $(patsubst kernel/%.dats, \ build/kernel/%_dats.o, $(dats_source_files)) -PATSCC=patscc +PATSCC=acc pc INCLUDE_ATS := INCLUDE_ATS += -I${PATSHOME} @@ -51,9 +51,9 @@ build/arch/$(arch)/%.o: arch/$(arch)/boot/%.asm @mkdir -p $(shell dirname $@) @nasm -felf64 $< -o $@ -build/kernel/%_dats.c: $(dats_source_files) +build/kernel/%_dats.c: kernel/%.dats @mkdir -p $(shell dirname $@) - $(PATSCC) -ccats - $< + $(PATSCC) -ccats -o $@ $< @mv *_dats.c build/kernel/ build/kernel/%.o: build/kernel/%.c |