?? makefile
字號:
# %W% %G% %U%## 1989 makefile## Copyright (c) 1989, Landon Curt Noll & Larry Bassel.# All Rights Reserved. Permission for personal, education or non-profit use is# granted provided this this copyright and notice are included in its entirety# and remains unaltered. All other uses must receive prior permission in # writing from both Landon Curt Noll and Larry Bassel.SHELL=/bin/shCFLAGS=-OCC=ccWINNERS=ovdluhe jar.1 jar.2 fubar westley paul robison rowmer vanb tromp.bsdALTERNATE=jar.1.orig fubar.orig tromp.s5all: ${WINNERS}ovdluhe: ovdluhe.c ${CC} ${CFLAGS} $? -o $@# NOTE: jar.1.c outputs its string in one section# this program may not print well on some terminalsjar.1: jar.1.c jar.1.sh rm -f jar.1 cp jar.1.sh jar.1 chmod +x jar.1# NOTE: The jar.1.orig file is the original entryjar.1.orig: jar.1.orig.c jar.1.orig.sh rm -f jar.1.orig cp jar.1.sh jar.1.orig chmod +x jar.1.origjar.2: jar.2.c ${CC} ${CFLAGS} $? -o $@# NOTE: fubar.c uses the /bin/sh shellfubar: fubar.c fubar.sh rm -f fubar cp fubar.sh fubar chmod +x fubar# NOTE: The fubar.orig.c file is the original entryfubar.orig: fubar.orig.c fubar.orig.sh rm -f fubar.orig cp fubar.orig.sh fubar.orig chmod +x fubar.origwestley: westley.c ${CC} ${CFLAGS} -Dtrgpune=putchar $? -o $@paul: paul.c ${CC} ${CFLAGS} $? -o $@robison: robison.c ${CC} ${CFLAGS} $? -o $@rowmer: rowmer.c ${CC} ${CFLAGS} $? -o $@# NOTE: this version requires BSD style signals and setitimer# this may not work well on low baud rate terminals# the file tromp.bsd.c is the original versiontromp: tromp.bsd.c ${CC} ${CFLAGS} $? -o $@ touch HI -chmod 0666 HI# NOTE: sites without BSD style signals and setitimer (e.g. System V.3)# should use this versiontromp.s5: tromp.s5.c ${CC} ${CFLAGS} $? -o $@ touch HI -chmod 0666 HIvanb: vanb.c ${CC} ${CFLAGS} $? -o $@clean: rm -f ovdluhe.o jar.2.o fubar.o westley.o paul.o robison.o rm -f rowmer.o tromp.o vanb.o rm -f x x1 ouroboros.c ouroboros.o fubar.orig.o tromp.bsd.o tromp.s5.o coreclobber: clean rm -f ${WINNERS} rm -f jar.1.o HI rm -f ${ALTERNATE}nuke: clobber @trueinstall: all cat ${WINNERS} > /dev/null
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -