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
master
Tomasz Sowa 8 years ago
parent d655c7c872
commit d9b583df76

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

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

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

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

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

Loading…
Cancel
Save