Update Makefiles

This commit is contained in:
2020-08-25 09:33:30 +02:00
parent ef25d9f1f0
commit c52d96b348
4 changed files with 12 additions and 26 deletions
+5 -7
View File
@@ -2,12 +2,10 @@
# Makefile.conf # Makefile.conf
# #
LFLAGS += -lLogging LIBRARIES += Logging
LFLAGS += -L$(ROOTPATH)/Libraries/Logging/lib/$(ARCH)
CFLAGS += -I$(ROOTPATH)/Libraries/Logging/include
LFLAGS += -lUtilities
LFLAGS += -L$(ROOTPATH)/lib/$(ARCH)
CFLAGS += -I$(ROOTPATH) -I$(ROOTPATH)/include
DEBUGDIR := .debug DEBUGDIR := .debug
TARGETS += Utilities.a
TARGETS += test
+6
View File
@@ -0,0 +1,6 @@
#
# Makefile.dep
#
LFLAGS += -lUtilities
-18
View File
@@ -1,18 +0,0 @@
#
# Makefile.target
#
Utilities.a.$(ARCH) : $(OBJECTS)
$(call build_target_library_arch,$@,$^)
Utilities.a:
$(call build_target,$@)
test.$(ARCH): $(OBJECTS) Test/Test.o.$(ARCH) | Utilities.a.$(ARCH)
$(call build_target_arch,$@,$^)
test:
$(call build_target,$@)
.DEFAULT_GOAL := Utilities.a
TARGETS += Utilities.a test