mirror of https://github.com/FDOS/kernel.git
27 lines
569 B
Makefile
27 lines
569 B
Makefile
#
|
|
# makefile for libm.lib
|
|
#
|
|
# $Id$
|
|
#
|
|
|
|
!include "../mkfiles/generic.mak"
|
|
|
|
########################################################################
|
|
|
|
all: libm.lib
|
|
|
|
libm.lib: $(CLIB) $(DEPENDS)
|
|
-$(RM) $*.lib
|
|
$(LIBUTIL) $(CLIB) $(MATH_EXTRACT)$(LIBTERM)
|
|
$(COMSPEC) /c for %i in (*.obj) do ..\utils\patchobj CODE=LCODE %i
|
|
$(LIBUTIL) $* $(MATH_INSERT)$(LIBTERM)
|
|
-$(RM) *.obj
|
|
|
|
########################################################################
|
|
|
|
clean:
|
|
-$(RM) *.bak *.cod *.crf *.err *.las *.lst *.map *.obj *.xrf
|
|
|
|
clobber: clean
|
|
-$(RM) libm.lib status.me
|