📄 makefile
字号:
######################################## define local information first TOP = ../../..INCLUDES = -I$(TOP)/include -I$(TOP)/src -I. -I-LOCAL_LIB = $(TOP)/lib/libstdClib.a ########################################include $(TOP)/make.proj########################################SRCS = $(fopenSRCS) $(ctypeSRCS) $(printfSRCS) $(scanfSRCS)install::#############fopenSRCS = testfopen.cfopenOBJS = $(fopenSRCS:.c=.o)testfopen: $(fopenOBJS) $(CC) -o $@ $(fopenOBJS) $(LOCAL_LIB) -lmall::testfopenclean:: $(RM) testfopen $(fopenOBJS)clobber::clean###########################ctypeSRCS = testctype.cctypeOBJS = $(ctypeSRCS:.c=.o)testctype: $(ctypeOBJS) $(CC) -o $@ $(ctypeOBJS) $(LOCAL_LIB) -lmall::testctypeclean:: $(RM) testctype $(ctypeOBJS)clobber::clean#########################printfSRCS = testprintf.cprintfOBJS = $(printfSRCS:.c=.o)testprintf: $(printfOBJS) $(CC) -o $@ $(printfOBJS) $(LOCAL_LIB) -lmall::testprintfclean:: $(RM) testprintf $(printfOBJS)clobber::clean#########################scanfSRCS = testscanf.cscanfOBJS = $(scanfSRCS:.c=.o)testscanf: $(scanfOBJS) $(CC) -o $@ $(scanfOBJS) $(LOCAL_LIB) -lmall::testscanfclean:: $(RM) testscanf $(scanfOBJS)clobber::clean########################################################################include $(CONFIG_DIR)/make.rules
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -