?? makefile
字號:
# %W% %G% %U%## 1991 makefile## Copyright (c) 1991, 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/shMAKE=makeMAKEFLAGS=e# uncomment the line to select the preferred type of compile## You should also check the ansi.mk or common.mk for the# proper compiler name and flags.## NOTE ==> USE=ansi compile with an ANSI compiler by default#USE=ansi# NOTE ==> USE=common compile with a common K&R compiler by default#USE=commonWINNERS= ant brnstnd buzzard cdupont davidguy dds fine rince westleyall: -@if [ "${USE}" = "common" ]; then \ echo ${MAKE} -k -f common.mk all; \ ${MAKE} -k -f common.mk all; \ elif [ "${USE}" = "ansi" ]; then \ echo ${MAKE} -k -f ansi.mk all; \ ${MAKE} -k -f ansi.mk all; \ else \ echo "set USE= in Makefile to be ansi or common as desired"; \ echo "or type: make -f ansi.mk for ansi makes"; \ echo "or type: make -f common.mk for common K&R makes"; \ exit 1; \ fiansi: ${MAKE} -f ansi.mk allcommon: ${MAKE} -f common.mk all${WINNERS} merlyn.c nextmove.c ttt_game.c: -@if [ "${USE}" = "common" ]; then \ echo ${MAKE} -f common.mk $@; \ ${MAKE} -f common.mk $@; \ elif [ "${USE}" = "ansi" ]; then \ echo ${MAKE} -f ansi.mk $@; \ ${MAKE} -f ansi.mk $@; \ else \ echo "set USE= in Makefile to be ansi or common as desired"; \ echo "or type: make -f ansi.mk for ansi makes"; \ echo "or type: make -f common.mk for common K&R makes"; \ exit 1;\ fittt: ttt.sh -@if [ "${USE}" = "common" ]; then \ echo ${MAKE} -f common.mk $@; \ ${MAKE} -f common.mk $@; \ elif [ "${USE}" = "ansi" ]; then \ echo ${MAKE} -f ansi.mk $@; \ ${MAKE} -f ansi.mk $@; \ else \ echo "set USE= in Makefile to be ansi or common as desired"; \ echo "or type: make -f ansi.mk for ansi makes"; \ echo "or type: make -f common.mk for common K&R makes"; \ exit 1;\ fimerlyn: merlyn.c -@if [ "${USE}" = "common" ]; then \ echo ${MAKE} -f common.mk $@; \ ${MAKE} -f common.mk $@; \ elif [ "${USE}" = "ansi" ]; then \ echo ${MAKE} -f ansi.mk $@; \ ${MAKE} -f ansi.mk $@ \ else \ echo "set USE= in Makefile to be ansi or common as desired"; \ echo "or type: make -f ansi.mk for ansi makes"; \ echo "or type: make -f common.mk for common K&R makes"; \ exit 1;\ fittt_game: ttt_game.c -@if [ "${USE}" = "common" ]; then \ echo ${MAKE} -f common.mk $@; \ ${MAKE} -f common.mk $@; \ elif [ "${USE}" = "ansi" ]; then \ echo ${MAKE} -f ansi.mk $@; \ ${MAKE} -f ansi.mk $@; \ else \ echo "set USE= in Makefile to be ansi or common as desired"; \ echo "or type: make -f ansi.mk for ansi makes"; \ echo "or type: make -f common.mk for common K&R makes"; \ exit 1;\ finextmove: nextmove.c -@if [ "${USE}" = "common" ]; then \ echo ${MAKE} -f common.mk $@; \ ${MAKE} -f common.mk $@; \ elif [ "${USE}" = "ansi" ]; then \ echo ${MAKE} -f ansi.mk $@; \ ${MAKE} -f ansi.mk $@; \ else \ echo "set USE= in Makefile to be ansi or common as desired"; \ echo "or type: make -f ansi.mk for ansi makes"; \ echo "or type: make -f common.mk for common K&R makes"; \ exit 1;\ ficlean: ${MAKE} -f ansi.mk clean ${MAKE} -f common.mk cleanclobber: ${MAKE} -f ansi.mk clobber ${MAKE} -f common.mk clobbernuke: clobber ${MAKE} -f ansi.mk nuke ${MAKE} -f common.mk nukeinstall: ${MAKE} -f ansi.mk install ${MAKE} -f common.mk install
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -