📄 makefile
字号:
## Makefile for a stop list filter program.# Written by and tested by Christopher Fox 4/10/91## Directives:# stopper A program to generate a stop list and filter a file.# This program assumes that a file called "stop.wrd"# exists and contains stop words, one per line.# The program is executed by typing# stopper <filename># where <filename> is an ASCII file to be filtered.## all (default) Make the program above.## regression Execute a regression test. The stopper program# should write a list of filtered words to stdout.## lint Run the stopper code through lint#CC=gccCFLAGS=-OLDFLAGS=LIBS=all: stopperstopper: stopper.o stop.o strlist.o $(CC) -o stopper stopper.o stop.o strlist.ostopper.o: stopper.c stop.h strlist.h $(CC) $(CFLAGS) -c -g stopper.cstop.o: stop.c stop.h strlist.h $(CC) $(CFLAGS) -c -g stop.cstrlist.o: strlist.c strlist.h $(CC) $(CFLAGS) -c -g strlist.clint: lint stopper.c stop.c strlist.cregression: stopper testfile stop.wrd ./stopper testfile
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -