📄 makefile
字号:
# Makefile for cslib/simplified directory# Last modified on Sat Oct 1 11:59:01 1994 by eroberts#****************************************************************OBJECTS = \ genlib.o \ strlib.o \ simpio.o \ random.o \ graphics.oCSLIB = cslib.aCC = gccCFLAGS = -g -I. $(CCFLAGS)# ***************************************************************# Entry to bring the package up to date# The "make all" entry should be the first real entryall: $(CSLIB)# ***************************************************************# Standard entries to remove files from the directories# tidy -- eliminate unwanted files# clean -- delete derived files in preparation for rebuild# scratch -- synonym for cleantidy: rm -f ,* .,* *~ core a.out *.errclean scratch: tidy# ***************************************************************# C compilationsgenlib.o: genlib.c genlib.h $(CC) $(CFLAGS) -c genlib.cstrlib.o: strlib.c strlib.h genlib.h $(CC) $(CFLAGS) -c strlib.csimpio.o: simpio.c simpio.h strlib.h genlib.h $(CC) $(CFLAGS) -c simpio.cgraphics.o: graphics.c graphics.h genlib.h $(CC) $(CFLAGS) -c graphics.crandom.o: random.c random.h genlib.h $(CC) $(CFLAGS) -c random.c# ***************************************************************# Entry to reconstruct the library archive$(CSLIB): $(OBJECTS) -rm -f $(CSLIB) ar cr $(CSLIB) $(OBJECTS) ranlib $(CSLIB)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -