mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2024-12-28 20:43:41 +01:00
use $(AR) variable instead of ar
This commit is contained in:
parent
34013cae40
commit
07085279a1
2 changed files with 2 additions and 1 deletions
1
Make.inc
1
Make.inc
|
@ -21,6 +21,7 @@ ifeq ($(USEGCC),1)
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CFLAGS += -fno-gnu89-inline
|
CFLAGS += -fno-gnu89-inline
|
||||||
endif
|
endif
|
||||||
|
AR = ar
|
||||||
|
|
||||||
default: all
|
default: all
|
||||||
|
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -24,7 +24,7 @@ OBJS = $(patsubst %.f,%.f.o,\
|
||||||
all: libopenlibm.a libopenlibm.$(SHLIB_EXT)
|
all: libopenlibm.a libopenlibm.$(SHLIB_EXT)
|
||||||
$(MAKE) -C test
|
$(MAKE) -C test
|
||||||
libopenlibm.a: $(OBJS)
|
libopenlibm.a: $(OBJS)
|
||||||
ar -rcs libopenlibm.a $(OBJS)
|
$(AR) -rcs libopenlibm.a $(OBJS)
|
||||||
libopenlibm.$(SHLIB_EXT): $(OBJS)
|
libopenlibm.$(SHLIB_EXT): $(OBJS)
|
||||||
$(FC) -shared $(OBJS) $(LDFLAGS) -o libopenlibm.$(SHLIB_EXT)
|
$(FC) -shared $(OBJS) $(LDFLAGS) -o libopenlibm.$(SHLIB_EXT)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue