regtools: fix makefiles

Change-Id: Ib69aac4e7510c99398130467b7fe0f10fc4897f7
This commit is contained in:
Amaury Pouly 2014-05-01 18:21:08 +02:00
parent 4356666101
commit cf93b33613
2 changed files with 7 additions and 7 deletions

View file

@ -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`

View file

@ -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)
rm -rf $(OBJ) $(LIB)