instead of directly using 'ar' program we are using the AR macro now

(which defaults to 'ar' if you do not define it)



git-svn-id: svn://ttmath.org/publicrep/pikotools/trunk@991 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
Tomasz Sowa 2014-11-12 04:11:28 +00:00
parent d655c7c872
commit d9b583df76
5 changed files with 9 additions and 4 deletions

View File

@ -12,9 +12,14 @@ ifndef LDFLAGS
LDFLAGS = -L/usr/local/lib LDFLAGS = -L/usr/local/lib
endif endif
ifndef AR
AR = ar
endif
export CXX export CXX
export CXXFLAGS export CXXFLAGS
export LDFLAGS export LDFLAGS
export AR
all: space mainparser utf8 date all: space mainparser utf8 date

View File

@ -5,7 +5,7 @@ libname=date.a
all: $(libname) all: $(libname)
$(libname): $(o) $(libname): $(o)
ar rcs $(libname) $(o) $(AR) rcs $(libname) $(o)
%.o: %.cpp %.o: %.cpp

View File

@ -5,7 +5,7 @@ libname=mainparser.a
all: $(libname) all: $(libname)
$(libname): $(o) $(libname): $(o)
ar rcs $(libname) $(o) $(AR) rcs $(libname) $(o)
%.o: %.cpp %.o: %.cpp

View File

@ -5,7 +5,7 @@ libname=space.a
all: $(libname) all: $(libname)
$(libname): $(o) $(libname): $(o)
ar rcs $(libname) $(o) $(AR) rcs $(libname) $(o)
%.o: %.cpp %.o: %.cpp

View File

@ -5,7 +5,7 @@ libname=utf8.a
all: $(libname) all: $(libname)
$(libname): $(o) $(libname): $(o)
ar rcs $(libname) $(o) $(AR) rcs $(libname) $(o)
%.o: %.cpp %.o: %.cpp