makefile
来自「thinking in patterns」· 代码 · 共 61 行
TXT
61 行
# From Thinking in Patterns (with Java) by Bruce Eckel
# At http://www.BruceEckel.com
# (c)2003 Bruce Eckel
# Copyright notice in Copyright.txt
# Automatically-generated MAKEFILE
# For examples in directory .\statemachine2
# using the JDK 1.4 compiler
# Invoke with: make
HOME := ../
ifndef MAKECMDGOALS
MAKECMDGOALS := javac
endif
# Command.com is too weak to build this under Windows NT/2000:
ifeq ($(OS),Windows_NT)
COMSPEC=$(SYSTEMROOT)\system32\cmd.exe
endif
ifneq ($(MAKECMDGOALS),clean)
include $(HOME)/$(MAKECMDGOALS).mac
endif
.SUFFIXES : .class .java
.java.class :
$(JVC) $(JVCFLAGS) $<
javac: \
State.class \
Input.class \
Condition.class \
Transition.class \
StateMachine.class
jikes: \
State.class \
Input.class \
Condition.class \
Transition.class \
StateMachine.class
clean:
ifeq ($(notdir $(SHELL)),COMMAND.COM)
del *.class
else
rm -f *.class
endif
State.class: State.java
Input.class: Input.java
Condition.class: Condition.java
Transition.class: Transition.java
StateMachine.class: StateMachine.java
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?