mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2024-12-28 20:43:41 +01:00
cd520e4350
A couple of small issues still remain with linking: LINK all /usr/bin/ranlib: file: libopenlibm.a(e_rem_pio2.o) has no symbols /usr/bin/ranlib: file: libopenlibm.a(e_rem_pio2f.o) has no symbols /usr/bin/ranlib: file: libopenlibm.a(k_cosf.o) has no symbols /usr/bin/ranlib: file: libopenlibm.a(k_sinf.o) has no symbols /usr/bin/ranlib: file: libopenlibm.a(k_tanf.o) has no symbols LINK all ld: duplicate symbol ___ieee754_rem_pio2 in src/s_sin.o and src/s_cos.o for architecture x86_64 collect2: ld returned 1 exit status
14 lines
354 B
Makefile
14 lines
354 B
Makefile
include ./Make.inc
|
|
|
|
all:
|
|
$(MAKE) -C src all
|
|
$(MAKE) -C ld128 all
|
|
$(MAKE) -C bsdsrc all
|
|
$(QUIET_LINK)ar -rcs libopenlibm.a src/*.o ld128/*.o bsdsrc/*.o
|
|
$(QUIET_LINK)$(CC) -shared -fPIC src/*.o ld128/*.o bsdsrc/*.o -o libopenlibm.$(SHLIB_EXT)
|
|
|
|
cleanall:
|
|
$(MAKE) -C src clean
|
|
$(MAKE) -C ld128 clean
|
|
$(MAKE) -C bsdsrc clean
|
|
rm -f *.a *.$(SHLIB_EXT)
|