mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2024-12-28 20:43:41 +01:00
14 lines
366 B
Makefile
14 lines
366 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/*.c.o ld128/*.c.o bsdsrc/*.c.o
|
|
$(QUIET_LINK)$(CC) -shared -fPIC src/*.c.o ld128/*.c.o bsdsrc/*.c.o -o libopenlibm.$(SHLIB_EXT)
|
|
|
|
cleanall:
|
|
$(MAKE) -C src clean
|
|
$(MAKE) -C ld128 clean
|
|
$(MAKE) -C bsdsrc clean
|
|
rm -f *.a *.$(SHLIB_EXT)
|