From 87ad7328bda82522c9983f1115a3860fafb8923c Mon Sep 17 00:00:00 2001 From: JDierkse Date: Tue, 25 Aug 2020 09:30:15 +0200 Subject: [PATCH] Update Makefiles --- Makefile.conf | 17 ++++++----------- Makefile.dep | 6 ++++++ Makefile.target | 18 ------------------ Makefiles | 2 +- 4 files changed, 13 insertions(+), 30 deletions(-) create mode 100644 Makefile.dep delete mode 100644 Makefile.target diff --git a/Makefile.conf b/Makefile.conf index 6acc881..d454d04 100644 --- a/Makefile.conf +++ b/Makefile.conf @@ -2,20 +2,15 @@ # Makefile.conf # -LFLAGS += -lLogging -LFLAGS += -L$(ROOTPATH)/Libraries/Logging/lib/$(ARCH) -CFLAGS += -I$(ROOTPATH)/Libraries/Logging/include - -LFLAGS += -lUtilities -LFLAGS += -L$(ROOTPATH)/Libraries/Utilities/lib/$(ARCH) -CFLAGS += -I$(ROOTPATH)/Libraries/Utilities/include +LIBRARIES += Logging +LIBRARIES += Utilities CFLAGS += -I$(ROOTPATH)/Libraries/asio/include -LFLAGS += -lNetwork -LFLAGS += -L$(ROOTPATH)/lib/$(ARCH) -CFLAGS += -I$(ROOTPATH) -I$(ROOTPATH)/include - LFLAGS += -pthread DEBUGDIR := .debug + +TARGETS += Network.a +TARGETS += test + diff --git a/Makefile.dep b/Makefile.dep new file mode 100644 index 0000000..a7540a7 --- /dev/null +++ b/Makefile.dep @@ -0,0 +1,6 @@ +# +# Makefile.dep +# + +LFLAGS += -lNetwork + diff --git a/Makefile.target b/Makefile.target deleted file mode 100644 index 1fa3df2..0000000 --- a/Makefile.target +++ /dev/null @@ -1,18 +0,0 @@ -# -# Makefile.target -# - -Network.a.$(ARCH) : $(OBJECTS) - $(call build_target_library_arch,$@,$^) - -Network.a: - $(call build_target,$@) - -test.$(ARCH): $(OBJECTS) Test/Test.o.$(ARCH) | Network.a.$(ARCH) - $(call build_target_arch,$@,$^) -test: - $(call build_target,$@) - -.DEFAULT_GOAL := Network.a - -TARGETS += Network.a test diff --git a/Makefiles b/Makefiles index cd9ef1a..5afd04e 160000 --- a/Makefiles +++ b/Makefiles @@ -1 +1 @@ -Subproject commit cd9ef1a1b0f7b88f36b0c51b4209d1859aca83aa +Subproject commit 5afd04e99bb8e0d186b928aadb5029d4deb4357b