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

📄 makefile

📁 大师写的二代小波经典之作
💻
字号:
################################################################################ Makefile for libutil.a## Description: Library for utility routines such as memory manager,#              constants, FLWT filter operator, among others.## $Id: Makefile,v 1.19 1996/10/23 13:23:42 fernande Exp $# $Source: /sgi.acct/sweldens/cvs/liftpack/Util/Makefile,v $# Author: Gabriel Fernandez############################################################################################################################################################## This file defines the following targets:# ===========================================================================# <null target> or all: makes your library.# # depend: makes dependencies.# # clean: removes all the usual stuff.# # tags: creates emacs style TAGS file.## ctags: creates vi style TAGS file.## new: makes the library from scratch.############################################################################### ############################################################################### Global Definitions -- DO NOT EDIT##############################################################################include ../make.env############################################################################### Directories -- EDIT THESE############################################################################### Header filesINCDIR=../include# Library filesLIBDIR=../lib############################################################################### Applications -- DO NOT EDIT THESE############################################################################### Random library executableRANLIB=./RANLIB.csh# CPP dependencies generatorDEPEND=../depend.sh############################################################################### Application file definitions -- EDIT THESE############################################################################### You may need to make sub-definitions for these definitions if you have# multiple languages, or other requirements.# All your source filesLIBSRCS=\	constant.c\	flwterr.c\	imgmem.c\	memchk.c\	mem.c\	util.c# header files with no associated .c HDRSNOS=\	$(INCDIR)/def.hALLSRCS=$(LIBSRCS)# All the local .h filesHDRS=\	$(INCDIR)/imgmem.h\	$(INCDIR)/constant.h\	$(INCDIR)/flwterr.h\	$(INCDIR)/memchk.h\	$(INCDIR)/mem.h\	$(INCDIR)/util.h# All .o files generatedLIBOBJS=$(LIBSRCS:.c=.o)# Application nameTARGET_NAME=util# Library nameLIB_TARGET=$(LIBDIR)/lib$(TARGET_NAME).a# Final-stage application compiler (or linker) name (cc, cs, cmf, f77,...)TARGET_COMPILER=$(CC)# Final-stage linker flags (-L<libdir> goes here)TARGET_COMPILER_FLAGS=$(CFLAGS) $(LIB)############################################################################### Application-specific definitions  -- EDIT THESE############################################################################### Put any libs you use here.  These will be included on the link line.LIBS=# Put any include directories (-I...) here.  They will be used to build# your .o's.  This line is usually left blank.#INC=-I$(INCDIR)# Put any library directories (-L...) here.  They will be used to build# your .o's.  This line is usually left blank.#LIB=-L$(LIBDIR)# Use these to override global definitions# CDEF=# DEBUG=# DATATYPE=# ----------------------------------------------------------------------------# -- You shouldn't need to edit anything below here, unless you have more# -- than one target or are building a library, or you're doing something# -- nonstandard.# ----------------------------------------------------------------------------############################################################################### Language definitions##############################################################################CFLAGS=$(INC) $(CDEF) $(DATATYPE)LDFLAGS=$(LIB)# CC=<C compiler>############################################################################### extra default rules##############################################################################.SUFFIXES: .c .o.c:	$(CC) $(CFLAGS) -o $@ $<.c.o:	$(CC) $(CFLAGS) $(DEBUG) -c $<.o:	$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@ $(LIBS)# This rule must be first.  It insures that the desired target is the default.default all: $(LIB_TARGET)############################################################################### Application-specific rules and dependencies - may need editing##############################################################################$(LIB_TARGET): $(LIBOBJS)	@echo "making library" " in `pwd`..."	rm -f $@	ar rv $@ $(LIBOBJS)	@$(RANLIB) $@	@echo $@ is made.	@echo ""############################################################################### General-purpose targets - do not edit, in general:# You may have to edit the depend line if you need extra includes.##############################################################################depend: $(ALLSRCS) $(HDRS)	@echo "making dependencies" "in `pwd`..."; \	# Use the following line if your compiler does not \	# accept the -M flag. \	#output=.dep flags=$(INC) $(DEPEND) $(ALLSRCS); \	# Use the following line if your compiler does \	# accept the -M flag. \	$(CC) $(CFLAGS) $(ALLSRCS) -M > .deptags:	etags $(ALLSRCS) $(HDRS)ctags:	ctags $(ALLSRCS) $(HDRS)new:	@$(MAKE) $(MFLAGS) clean ; \	$(MAKE) $(MFLAGS) depend ; \	$(MAKE) $(MFLAGS) allclean:	@echo "cleaning" "in `pwd`...";	@rm -f $(LIBOBJS) $(LIB_TARGET) core *~ *.s .dep *.o *.a TAGS tags a.out *.out #* *.bak;	@touch .dep; chmod 666 .dep.IGNORE:# DO NOT DELETE THIS LINE -- make depend depends on it.include .dep

⌨️ 快捷键说明

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