📄 makefile
字号:
################################################################################ Makefile for libflwt.a## Description: Library for the Fast Wavelet Transform routines.## $Id: Makefile,v 1.19 1996/10/23 13:23:41 fernande Exp $# $Source: /sgi.acct/sweldens/cvs/liftpack/Lifting/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 filesMALSRCS=\ mallat.cPCKSRCS=\ cost.c\ data.c\ flwtpack.cWAVSRCS=\ filter.c\ flwt.c\ lift.c\ lu.c\ neville.cLIBSRCS=\ $(MALSRCS)\ $(PCKSRCS)\ $(WAVSRCS)# header files with no associated .c HDRSNOS=\ $(INCDIR)/def.hALLSRCS=$(LIBSRCS)# All the local .h filesHDRS=\ $(INCDIR)/mallat.h\ $(INCDIR)/cost.h\ $(INCDIR)/data.h\ $(INCDIR)/flwtpack.h\ $(INCDIR)/filter.h\ $(INCDIR)/flwt.h\ $(INCDIR)/lift.h\ $(INCDIR)/lu.h\ $(INCDIR)/neville.h# All .o files generated# LIBOBJS=$(LIBSRCS:.c=.o)LIBOBJS=\ $(MALSRCS:.c=.o)\ $(PCKSRCS:.c=.o)\ $(WAVSRCS:.c=.o)ALLOBJS=$(LIBOBJS)# Application nameTARGET_NAME=flwt# 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=-lm# 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 $(ALLOBJS) $(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 + -