From 5de74a85b44314b707e72d8f6c1aeb6636f497f9 Mon Sep 17 00:00:00 2001 From: docktermj Date: Tue, 5 Dec 2023 09:18:50 -0500 Subject: [PATCH] #111 Refactor Makefiles to directory --- Makefile | 6 +++--- makefiles/{darwin.Makefile => darwin.mk} | 0 makefiles/{linux.Makefile => linux.mk} | 0 makefiles/{osdetect.Makefile => osdetect.mk} | 0 makefiles/{windows.Makefile => windows.mk} | 0 5 files changed, 3 insertions(+), 3 deletions(-) rename makefiles/{darwin.Makefile => darwin.mk} (100%) rename makefiles/{linux.Makefile => linux.mk} (100%) rename makefiles/{osdetect.Makefile => osdetect.mk} (100%) rename makefiles/{windows.Makefile => windows.mk} (100%) diff --git a/Makefile b/Makefile index f5f4bd8..8b0e7b3 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ # Detect the operating system and architecture. -include makefiles/osdetect.Makefile +include makefiles/osdetect.mk # ----------------------------------------------------------------------------- # Variables @@ -52,8 +52,8 @@ default: help # Operating System / Architecture targets # ----------------------------------------------------------------------------- --include makefiles/$(OSTYPE).Makefile --include makefiles/$(OSTYPE)_$(OSARCH).Makefile +-include makefiles/$(OSTYPE).mk +-include makefiles/$(OSTYPE)_$(OSARCH).mk .PHONY: hello-world diff --git a/makefiles/darwin.Makefile b/makefiles/darwin.mk similarity index 100% rename from makefiles/darwin.Makefile rename to makefiles/darwin.mk diff --git a/makefiles/linux.Makefile b/makefiles/linux.mk similarity index 100% rename from makefiles/linux.Makefile rename to makefiles/linux.mk diff --git a/makefiles/osdetect.Makefile b/makefiles/osdetect.mk similarity index 100% rename from makefiles/osdetect.Makefile rename to makefiles/osdetect.mk diff --git a/makefiles/windows.Makefile b/makefiles/windows.mk similarity index 100% rename from makefiles/windows.Makefile rename to makefiles/windows.mk