⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 linux下用PCMCIA无线网卡虚拟无线AP的程序源码
💻
字号:
# Makefile for uClibc's math library# Copyright (C) 2001 by Lineo, inc.## This math library is derived primarily from the Cephes Math Library,# copyright by Stephen L. Moshier <moshier@world.std.com>## This program is free software; you can redistribute it and/or modify it under# the terms of the GNU Library General Public License as published by the Free# Software Foundation; either version 2 of the License, or (at your option) any# later version.## This program is distributed in the hope that it will be useful, but WITHOUT# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS# FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more# details.## You should have received a copy of the GNU Library General Public License# along with this program; if not, write to the Free Software Foundation, Inc.,# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA#TOPDIR=../../include $(TOPDIR)Rules.makLIBM=../libm.aTARGET_CC= $(TOPDIR)/extra/gcc-uClibc/$(TARGET_ARCH)-uclibc-gccCSRC=acoshl.c asinhl.c asinl.c atanhl.c atanl.c bdtrl.c btdtrl.c cbrtl.c \	chdtrl.c coshl.c ellpel.c ellpkl.c elliel.c ellikl.c ellpjl.c \	exp10l.c exp2l.c expl.c fdtrl.c gammal.c gdtrl.c igamil.c igaml.c \	incbetl.c incbil.c isnanl.c j0l.c j1l.c jnl.c ldrand.c log10l.c log2l.c \	logl.c nbdtrl.c ndtril.c ndtrl.c pdtrl.c powl.c powil.c sinhl.c sinl.c \	sqrtl.c stdtrl.c tanhl.c tanl.c unityl.c ynl.c \	floorl.c polevll.c mtherr.c #cmplxl.c clogl.cCOBJS=$(patsubst %.c,%.o, $(CSRC))OBJS=$(COBJS)all: $(OBJS) $(LIBM)$(LIBM): ar-targetar-target: $(OBJS)	$(AR) $(ARFLAGS) $(LIBM) $(OBJS)$(COBJS): %.o : %.c	$(TARGET_CC) $(TARGET_CFLAGS) -c $< -o $@	$(STRIPTOOL) -x -R .note -R .comment $*.o$(OBJ): Makefileclean:	rm -f *.[oa] *~ core#-----------------------------------------#all: mtstl lparanoi lcalc fltestl nantst testvect monotl libml.amtstl: libml.a mtstl.o $(OBJS)	$(TARGET_CC) $(TARGET_CFLAGS) -o mtstl mtstl.o libml.a $(LIBS)mtstl.o: mtstl.clparanoi: libml.a lparanoi.o setprec.o ieee.o econst.o $(OBJS)	$(TARGET_CC) $(TARGET_CFLAGS) -o lparanoi lparanoi.o setprec.o ieee.o econst.o libml.a $(LIBS)lparanoi.o: lparanoi.c	$(TARGET_CC) $(TARGET_CFLAGS) -Wno-implicit -c lparanoi.ceconst.o: econst.c ehead.hlcalc: libml.a lcalc.o ieee.o econst.o $(OBJS)	$(TARGET_CC) $(TARGET_CFLAGS) -o lcalc lcalc.o ieee.o econst.o libml.a $(LIBS)lcalc.o: lcalc.c lcalc.h ehead.hieee.o: ieee.c ehead.h# Use $(OBJS) in ar command for libml.a if possible; else *.olibml.a: $(OBJS) mconf.h	ar -rv libml.a $(OBJS)	ranlib libml.afltestl: fltestl.c libml.a	$(TARGET_CC) $(TARGET_CFLAGS) -o fltestl fltestl.c libml.afltestl.o: fltestl.cflrtstl: flrtstl.c libml.a	$(TARGET_CC) $(TARGET_CFLAGS) -o flrtstl flrtstl.c libml.aflrtstl.o: flrtstl.cnantst: nantst.c libml.a	$(TARGET_CC) $(TARGET_CFLAGS) -o nantst nantst.c libml.anantst.o: nantst.ctestvect: testvect.o libml.a	$(TARGET_CC) $(TARGET_CFLAGS) -o testvect testvect.o libml.atestvect.o: testvect.c	$(TARGET_CC) -g -c -o testvect.o testvect.cmonotl: monotl.o libml.a	$(TARGET_CC) $(TARGET_CFLAGS) -o monotl monotl.o libml.amonotl.o: monotl.c	$(TARGET_CC) -g -c -o monotl.o monotl.c# Run test programscheck: mtstl fltestl testvect monotl libml.a	-mtstl	-fltestl	-testvect	-monotl

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -