From cf93b33613a850e4a9f5568aa94051203763bc09 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Thu, 1 May 2014 18:21:08 +0200 Subject: [PATCH] regtools: fix makefiles Change-Id: Ib69aac4e7510c99398130467b7fe0f10fc4897f7 --- utils/regtools/Makefile | 6 +++--- utils/regtools/lib/Makefile | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/utils/regtools/Makefile b/utils/regtools/Makefile index 6ed827e257..5e3feafd01 100644 --- a/utils/regtools/Makefile +++ b/utils/regtools/Makefile @@ -1,7 +1,7 @@ DEFINES= -CC=gcc -CXX=g++ -LD=g++ +CC?=gcc +CXX?=g++ +LD?=g++ CFLAGS=-g -std=c99 -Wall $(DEFINES) -Ilib CXXFLAGS=-g -Wall $(DEFINES) -Ilib LDFLAGS=-Llib -lsocdesc `xml2-config --libs` diff --git a/utils/regtools/lib/Makefile b/utils/regtools/lib/Makefile index ef8d4c0533..08021ef941 100644 --- a/utils/regtools/lib/Makefile +++ b/utils/regtools/lib/Makefile @@ -1,6 +1,6 @@ -CC=gcc -CXX=g++ -AR=ar +CC?=gcc +CXX?=g++ +AR?=ar CFLAGS=-Wall -O2 `xml2-config --cflags` -std=c99 -g -fPIC CXXFLAGS=-Wall -O2 `xml2-config --cflags` -g -fPIC LIB=libsocdesc.a @@ -20,4 +20,4 @@ $(LIB): $(OBJ) $(AR) rcs $@ $^ clean: - rm -rf $(OBJ) $(LIB) \ No newline at end of file + rm -rf $(OBJ) $(LIB)