📄 makefile
字号:
# # The contents of this file are subject to the Mozilla Public# License Version 1.1 (the "License"); you may not use this file# except in compliance with the License. You may obtain a copy# of the License at http://www.mozilla.org/MPL/# # Software distributed under the License is distributed on an# "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or# implied. See the License for the specific language governing# rights and limitations under the License.# # The Original Code is State Machine Compiler (SMC).# # The Initial Developer of the Original Code is Charles W. Rapp.# Portions created by Charles W. Rapp are# Copyright (C) 2007. Charles W. Rapp.# All Rights Reserved.# # Contributor(s):# Chris Liscio## RCS ID# $Id: Makefile,v 1.4 2008/04/24 09:29:54 fperrad Exp $## CHANGE LOG# (See the bottom of this file.)################################################################### Macros.#SM_SOURCES= AppClass.smSOURCES= $(SM_SOURCES:.sm=_sm.m) \ AppClass.m \ main.m \ ../../../lib/ObjC/statemap.mHEADERS= $(SM_SOURCES:.sm=_sm.h) \ AppClass.hOBJECTS= $(SOURCES:.m=.o)TARGET= ./sleeper# Uncomment to turn on debug message generation.TRACE= -gSMC= java -jar ../../../bin/Smc.jarSMC_FLAGS= -objc $(TRACE)GCC= gccCPPFLAGS= -g -I../../../lib/ObjC/ -framework FoundationRM_F= rm -f################################################################## Rules.#%_sm.h %_sm.m : %.sm $(SMC) $(SMC_FLAGS) $<%_sm.dot : %.sm $(SMC) -graph -glevel 1 $<%_sm.html : %.sm $(SMC) -table $<all : $(TARGET)$(TARGET) : $(HEADERS) $(SOURCES) $(GCC) $(CPPFLAGS) -o $@ $(SOURCES)test : $(TARGET) $(TARGET)graph : $(SM_SOURCES:%.sm=%_sm.dot)table : $(SM_SOURCES:%.sm=%_sm.html)clean : -$(RM_F) $(TARGET) $(OBJECTS) -$(RM_F) *_sm.h -$(RM_F) *_sm.m -$(RM_F) *_sm.dot -$(RM_F) *_sm.html## CHANGE LOG# $Log: Makefile,v $# Revision 1.4 2008/04/24 09:29:54 fperrad# + fix #1934494 : remove 'test' from 'all' target## Revision 1.3 2008/02/04 11:15:09 fperrad# + Exhibit options# + add a target 'table'# + add a target 'graph'## Revision 1.2 2007/01/15 16:58:57 cwrapp# Release 4.4.0 second commit.## Revision 1.1 2007/01/15 00:23:50 cwrapp# Release 4.4.0 initial commit.#
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -