diff options
author | Xander <xander@icth.xyz> | 2023-07-04 13:26:09 +0200 |
---|---|---|
committer | Xander <xander@icth.xyz> | 2023-07-04 13:26:09 +0200 |
commit | 415f75c275c991949ef7c9d2c62d07e8eba761b5 (patch) | |
tree | f52ea1c30e179b717ca10c6d170b723e3c5132c6 /Makefile | |
parent | 5adc7cf997d481a6afb3ed95573d6eff44cbdd5b (diff) | |
download | ats-os-415f75c275c991949ef7c9d2c62d07e8eba761b5.tar.xz ats-os-415f75c275c991949ef7c9d2c62d07e8eba761b5.zip |
Overloading print + cleanup
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,7 +8,7 @@ assembly_source_files := $(wildcard arch/$(arch)/boot/*.asm) assembly_object_files := $(patsubst arch/$(arch)/boot/%.asm, \ build/arch/$(arch)/%.o, $(assembly_source_files)) -dats_source_files := $(wildcard kernel/*.dats) +dats_source_files := $(wildcard kernel/*.dats kernel/**/*.dats) dats_object_files := $(patsubst kernel/%.dats, \ build/kernel/%_dats.o, $(dats_source_files)) @@ -54,7 +54,7 @@ build/arch/$(arch)/%.o: arch/$(arch)/boot/%.asm build/kernel/%_dats.c: kernel/%.dats @mkdir -p $(shell dirname $@) $(PATSCC) -ccats -o $@ $< - @mv *_dats.c build/kernel/ + @mv *_dats.c $@ build/kernel/%.o: build/kernel/%.c @mkdir -p $(shell dirname $@) |