📄 makefile
字号:
# Makefile for ...su/mainSHELL = /bin/sh# Adapt the flags in the following paragraph to your systemSU = /pad/data5/zli/lfB = /home/stgpzli/OS6bin/cwpROOT = $(SU)/cwpUROOT = $(SU)/sltOPTC = -xO3 -fast -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64I = $(ROOT)/include K = $(UROOT)/includeL = $(ROOT)/libM = $(UROOT)/libD = $L/libcwp.a $L/libpar.a $L/libsu.a $M/libwgc.a $M/libsubf.a $M/libsubc.aCC = $(CC)CFLAGS= $(OPTC) -I$K -I$ILFLAGS= -L$M -lwgc -lsubf -lsubc -L$L -lsu -lpar -lcwp -lmPROGS = \ $B/suabshw \ $B/suaddhead \ $B/suband \ $B/sucbhw \ $B/suchart \ $B/suchw \ $B/suedit \ $B/sugain \ $B/sugetcbhd \ $B/sugethw \ $B/sumax \ $B/suop2 \ $B/suresamp \ $B/sushw \ $B/susort \ $B/sustack \ $B/sustrip \ $B/sutvband \ $B/suus \ $B/suwindINSTALL :$(PROGS) touch $@$(PROGS): $D $$(@F).c -$(CC) $(CFLAGS) $(@F).c $(LFLAGS) -o $@ @chmod 755 $@ @echo $(@F) installed in $Bsgyin.test: $D sgyin.c $(CC) $(CFLAGS) sgyin.c $(LFLAGS) -o /home/stgpzli/TESTbin/slt/sgyin# Some makes don't understand the $$ notation above. In this case# you have to type out the compile paragraph for each PROG. Sigh.# Here's a start, good luck.#remake : -touch *.c make ROOT=$(ROOT) OPTC=$(OPTC) clean: rm -f a.out junk* JUNK* core
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -