OpenLibm/Makefile

15 lines
366 B
Makefile
Raw Normal View History

2011-12-31 08:18:43 +01:00
include ./Make.inc
2011-12-30 20:42:12 +01:00
all:
2011-12-31 08:18:43 +01:00
$(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)
2011-12-31 08:18:43 +01:00
cleanall:
$(MAKE) -C src clean
2011-12-31 08:22:24 +01:00
$(MAKE) -C ld128 clean
$(MAKE) -C bsdsrc clean
2011-12-31 08:22:24 +01:00
rm -f *.a *.$(SHLIB_EXT)