diff options
-rw-r--r-- | Makefile.common | 4 | ||||
-rw-r--r-- | Makefile.config | 10 | ||||
-rw-r--r-- | Makefile.rules | 4 |
3 files changed, 14 insertions, 4 deletions
diff --git a/Makefile.common b/Makefile.common index c13ca25..0197af2 100644 --- a/Makefile.common +++ b/Makefile.common @@ -234,7 +234,7 @@ endif # Create one .o file from a bunch of .o files... -Relink = ld -r +Relink = ${LD} -r # MakeSO - Create a .so file from a .o files... MakeSO := $(CXX) $(MakeSharedObjectOption) @@ -246,7 +246,7 @@ Depend := $(CXX) -MM -I$(LEVEL)/include -I$(PROJ_INCLUDE) $(CPPFLAGS) DependC := $(CC) -MM -I$(LEVEL)/include -I$(PROJ_INCLUDE) $(CPPFLAGS) # Archive a bunch of .o files into a .a file... -AR = ar cq +AR = ${AR_PATH} cq #---------------------------------------------------------- diff --git a/Makefile.config b/Makefile.config index 08e8019..d47fe95 100644 --- a/Makefile.config +++ b/Makefile.config @@ -19,6 +19,16 @@ CXX = PATH=/usr/bin /usr/dcs/software/evaluation/bin/g++ CC := PATH=/usr/bin /usr/dcs/software/evaluation/bin/gcc # +# Path to the linker. +# +LD = ld + +# +# Path to the archiver program. +# +AR_PATH = ar + +# # The pathnames of the Flex and Bison programs, respectively. # BISON = bison diff --git a/Makefile.rules b/Makefile.rules index c13ca25..0197af2 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -234,7 +234,7 @@ endif # Create one .o file from a bunch of .o files... -Relink = ld -r +Relink = ${LD} -r # MakeSO - Create a .so file from a .o files... MakeSO := $(CXX) $(MakeSharedObjectOption) @@ -246,7 +246,7 @@ Depend := $(CXX) -MM -I$(LEVEL)/include -I$(PROJ_INCLUDE) $(CPPFLAGS) DependC := $(CC) -MM -I$(LEVEL)/include -I$(PROJ_INCLUDE) $(CPPFLAGS) # Archive a bunch of .o files into a .a file... -AR = ar cq +AR = ${AR_PATH} cq #---------------------------------------------------------- |