regtools: fix makefiles
Change-Id: Ib69aac4e7510c99398130467b7fe0f10fc4897f7
This commit is contained in:
parent
4356666101
commit
cf93b33613
2 changed files with 7 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
||||||
DEFINES=
|
DEFINES=
|
||||||
CC=gcc
|
CC?=gcc
|
||||||
CXX=g++
|
CXX?=g++
|
||||||
LD=g++
|
LD?=g++
|
||||||
CFLAGS=-g -std=c99 -Wall $(DEFINES) -Ilib
|
CFLAGS=-g -std=c99 -Wall $(DEFINES) -Ilib
|
||||||
CXXFLAGS=-g -Wall $(DEFINES) -Ilib
|
CXXFLAGS=-g -Wall $(DEFINES) -Ilib
|
||||||
LDFLAGS=-Llib -lsocdesc `xml2-config --libs`
|
LDFLAGS=-Llib -lsocdesc `xml2-config --libs`
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
CC=gcc
|
CC?=gcc
|
||||||
CXX=g++
|
CXX?=g++
|
||||||
AR=ar
|
AR?=ar
|
||||||
CFLAGS=-Wall -O2 `xml2-config --cflags` -std=c99 -g -fPIC
|
CFLAGS=-Wall -O2 `xml2-config --cflags` -std=c99 -g -fPIC
|
||||||
CXXFLAGS=-Wall -O2 `xml2-config --cflags` -g -fPIC
|
CXXFLAGS=-Wall -O2 `xml2-config --cflags` -g -fPIC
|
||||||
LIB=libsocdesc.a
|
LIB=libsocdesc.a
|
||||||
|
@ -20,4 +20,4 @@ $(LIB): $(OBJ)
|
||||||
$(AR) rcs $@ $^
|
$(AR) rcs $@ $^
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(OBJ) $(LIB)
|
rm -rf $(OBJ) $(LIB)
|
||||||
|
|
Loading…
Reference in a new issue