From 8e1926443a2aa0e9adbc5019ca6e7865d4cbf062 Mon Sep 17 00:00:00 2001 From: emma Date: Mon, 15 Jul 2024 00:44:27 -0600 Subject: [PATCH] moves source files to src/ --- Makefile | 7 +++++-- limine.h => src/limine.h | 0 limine.rs => src/limine.rs | 0 3 files changed, 5 insertions(+), 2 deletions(-) rename limine.h => src/limine.h (100%) rename limine.rs => src/limine.rs (100%) diff --git a/Makefile b/Makefile index 7e298e2..61c77bc 100644 --- a/Makefile +++ b/Makefile @@ -7,8 +7,11 @@ .POSIX: -bindings.rlib: limine.h limine.rs - bindgen --use-core limine.h | cat limine.rs - | rustc --crate-type=lib - -o $@ +RUSTC ?= rustc + +bindings.rlib: src/limine.h src/limine.rs + bindgen --use-core src/limine.h | cat src/limine.rs - \ + | $(RUSTC) --crate-type=lib - -o $@ .PHONY: clean clean: diff --git a/limine.h b/src/limine.h similarity index 100% rename from limine.h rename to src/limine.h diff --git a/limine.rs b/src/limine.rs similarity index 100% rename from limine.rs rename to src/limine.rs