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

📄 ,makefile.ex

📁 speech signal process tools
💻 EX
字号:
#  makefile for ESPS programs#  %W% %G% ESI##  The following macros are defined by the "emake" environment:##  PROGCFLAGS   - C flags for ESPS programs.  You can add others#		  such as -g or -O.   PROGCFLAGS includes the -I#		  option for the correct ESPS include directories.#   LINTFLAGS    - Lint flags.  #   BINDIR       - Directory to put the binary in.#   OLDBIN       - Directory to move the old binary into.#   PROGMOD      - Access mode of the binary.#   MANDIR       - Manual directory.  (stick man page into $(MANDIR)/man1#   MANMOD       - Access mode of the man page#   LINT		- Name of the lint program##   NOTE:  You might have to add additional libraries (eg. -lmr)#          to the "cc" statement.#          #          This makefile assumes that the man page has the exact#          same name as the binary.  This might not always be true;#          so you may need to adjust the "install" part.# 	#  add your C options here.  Here I added -g; you can replace with#  -O if desired, eg. here I added -g#CFLAGS =  -g $(PROGCFLAGS)## list your .o files here (remove a.o and b.o)OBJS = a.o b.o# list your sources here (remove a.c and b.c)SRCS = a.c b.c## name the program here (remove alpha)PROGNAME =  alpha$(PROGNAME): $(SPSLIB) $(OBJS)	cc  $(CFLAGS) $(OBJS) $(SPSLIB) -lm -o $(PROGNAME)## list .o file dependecies here, $(SINC) is the parent of the# esps include directories  (remove these two lines)# eg.a.o $(SINC)/esps.hb.o $(SINC)/esps.hinstall: $(PROGNAME)	-strip $(PROGNAME)	-mv $(BINDIR)/$(PROGNAME) $(OLDBIN)/$(PROGNAME)	-chmod $(PROGMOD) $(OLDBIN)/$(PROGNAME)	cp  $(PROGNAME) $(BINDIR)/$(PROGNAME)	chmod $(PROGMOD) $(BINDIR)/$(PROGNAME)	-diffmk $(MANDIR)/man1/$(PROGNAME).1 $(PROGNAME).1 man.diff	@echo diffmked man page left in man.diff	cp atofilt.1 $(MANDIR)/man1/$(PROGNAME).1	chmod 0640 $(MANDIR)/man1/$(PROGNAME).1clean:		-rm -f $(PROGNAME) $(OBJS)	lint:	$(SRCS)	$(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIB) > lint

⌨️ 快捷键说明

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