2001-11-04 21:10:15 +01:00
|
|
|
#
|
|
|
|
# makefile for libm.lib
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
|
2003-09-15 12:46:24 +02:00
|
|
|
!include "../mkfiles/generic.mak"
|
2001-11-04 21:10:15 +01:00
|
|
|
|
2004-07-09 04:16:31 +02:00
|
|
|
########################################################################
|
2001-11-04 21:10:15 +01:00
|
|
|
|
2004-07-09 04:16:31 +02:00
|
|
|
all: libm.lib
|
2001-11-04 21:10:15 +01:00
|
|
|
|
2004-07-09 04:16:31 +02:00
|
|
|
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
|
2001-11-04 21:10:15 +01:00
|
|
|
|
2004-07-09 04:16:31 +02:00
|
|
|
########################################################################
|
2001-11-04 21:10:15 +01:00
|
|
|
|
|
|
|
clean:
|
2004-07-09 04:16:31 +02:00
|
|
|
-$(RM) *.bak *.cod *.crf *.err *.las *.lst *.map *.obj *.xrf
|
2001-11-18 00:26:45 +01:00
|
|
|
|
2004-07-09 04:16:31 +02:00
|
|
|
clobber: clean
|
|
|
|
-$(RM) libm.lib status.me
|