diff options
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 |