Make.src
资源名称:leda.tar.gz [点击查看]
上传用户:gzelex
上传日期:2007-01-07
资源大小:707k
文件大小:2k
源码类别:
数值算法/人工智能
开发平台:
MultiPlatform
- #-----------------------------------------------------------------------------
- # UNIX (CC,g++,lcc)
- #-----------------------------------------------------------------------------
- LIB = ../../$(L).a
- CFLAGS = -O
- ARLIB = ar r $(LIB) $?
- RANLIB = ranlib $(LIB)
- o = .o
- .c.o:
- ../../c++ -I../../incl $(CFLAGS) $(DFLAGS) -c $*.c
- .s.o:
- as -o $*.o $*.s
- #-----------------------------------------------------------------------------
- # WATCOM (32 bit)
- #-----------------------------------------------------------------------------
- #LIB = ....$(L).lib
- #ARLIB =
- #RANLIB =
- #o = .obj
- #.c.obj:
- # wcl386 -zq -cc++ -I....incl $(DFLAGS) -c $*.c
- # wlib -c -b $(LIB) +- $*.obj
- #-----------------------------------------------------------------------------
- # ZORTECH (32 bit)
- #-----------------------------------------------------------------------------
- #LIB = ....$(L).lib
- #ARLIB =
- #RANLIB =
- #o = .obj
- #.c.obj:
- # ztc -cpp -w -mx -I....incl $(DFLAGS) -c $*.c
- # zorlibx /N /B $(LIB) +- $*.obj,;
- #-----------------------------------------------------------------------------
- # BORLAND
- #-----------------------------------------------------------------------------
- #.SWAP
- #LIB = ....$(L).lib
- #ARLIB =
- #RANLIB =
- #o = .obj
- #.c.obj:
- # bcc -P -Qx -w- -mh -N -I....incl $(DFLAGS) -c $*.c
- # tlib /C $(LIB) +- $*.obj
- #-----------------------------------------------------------------------------
- # DJGPP / EMX
- #-----------------------------------------------------------------------------
- #LIB = ../../$(L).a
- #ARLIB =
- #RANLIB =
- #o = .o
- #.c.o:
- # gcc -I../../incl $(DFLAGS) -c -xc++ $*.c -xnone
- # ar r $(LIB)
- #-----------------------------------------------------------------------------
- all: $(LIB)
- include Make.lst
- $(LIB): $(OBJECTS)
- $(ARLIB)
- $(RANLIB)
- clean:
- rm -f $(OBJECTS)