OpenLibm/Makefile
2012-05-24 23:14:58 -04:00

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)