"Fossies" - the Fresh Open Source Software Archive

Member "mapm_4.9.5a/WINDOWS_DOS/makefile.b32" (21 Feb 2010, 1751 Bytes) of package /linux/misc/old/mapm-4.9.5a.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # Borland makefile for MAPM library version 4.7 
    2 # (version 3.50, added MAPM_FFT  MCR)
    3 # (version 3.65, added MAPM_RCP  MCR)
    4 # (version 3.85, added MAPM_FLR, _CPI  MCR)
    5 # (version 4.0,  added MAPM_FAM, _GCD  MCR)
    6 # (version 4.2,  added MAPM_FPF  MCR)
    7 # (version 4.4,  added MAPMUTL2  MCR)
    8 # (version 4.5,  added MAPMPWR2  MCR)
    9 # (version 4.6,  added MAPM_LG2, _LG3  MCR)
   10 # (version 4.7,  added MAPMUTL1, _LG4  MCR)
   11 #
   12 # Tested with Borland C++ 5.2 and 5.5 command line compilers.
   13 #
   14 # Run this makefile from the source subdirectory with
   15 #   make -f makefile.b32
   16 #
   17 # Michael Bedward
   18 # mbedward@ozemail.com.au
   19 #
   20 # 7 June 2000
   21 
   22 LIBTARGET = mapm.lib
   23 CC = bcc32
   24 
   25 # -c   compile only
   26 # add -v if you want debugging info
   27 CFLAGS = -DMSDOS -c
   28 
   29 # uncomment the relevant BCCINC macro...
   30 #
   31 # this is for Borland 5.5 (edit for your path)
   32 BCCINC = -IC:/borland/bcc55/include
   33 
   34 # this is for Borland 5.2 which can find it's own headers
   35 #BCCINC =
   36 
   37 OBJECTS = MAPM5SIN.OBJ \
   38 	MAPMASIN.OBJ \
   39 	MAPMASN0.OBJ \
   40 	MAPMCBRT.OBJ \
   41 	MAPMCNST.OBJ \
   42 	MAPMFACT.OBJ \
   43 	MAPMFMUL.OBJ \
   44 	MAPMGUES.OBJ \
   45 	MAPMHASN.OBJ \
   46 	MAPMHSIN.OBJ \
   47 	MAPMIPWR.OBJ \
   48 	MAPMISTR.OBJ \
   49 	MAPMPWR2.OBJ \
   50 	MAPMRSIN.OBJ \
   51 	MAPMSQRT.OBJ \
   52 	MAPMSTCK.OBJ \
   53 	MAPMUTIL.OBJ \
   54 	MAPMUTL1.OBJ \
   55 	MAPMUTL2.OBJ \
   56 	MAPM_ADD.OBJ \
   57 	MAPM_CPI.OBJ \
   58 	MAPM_DIV.OBJ \
   59 	MAPM_EXP.OBJ \
   60 	MAPM_FAM.OBJ \
   61 	MAPM_FFT.OBJ \
   62 	MAPM_FLR.OBJ \
   63 	MAPM_FPF.OBJ \
   64 	MAPM_GCD.OBJ \
   65 	MAPM_LOG.OBJ \
   66 	MAPM_LG2.OBJ \
   67 	MAPM_LG3.OBJ \
   68 	MAPM_LG4.OBJ \
   69 	MAPM_MUL.OBJ \
   70 	MAPM_POW.OBJ \
   71 	MAPM_RCP.OBJ \
   72 	MAPM_RND.OBJ \
   73 	MAPM_SET.OBJ \
   74 	MAPM_SIN.OBJ
   75 
   76 .SUFFIXES: .c .obj
   77 
   78 .c.obj :
   79 	bcc32 $(CFLAGS) $(BCCINC) $< -o $@
   80 
   81 all: $(LIBTARGET)
   82 
   83 $(LIBTARGET): $(OBJECTS)
   84 	tlib $(LIBTARGET) /P1024 @&&!
   85 -+$(OBJECTS:.OBJ=.OBJ -+) 
   86 !
   87 
   88 clean:
   89 	-erase *.obj
   90 	-erase *.lib