同一个makefile中,先后编译两个tweak

如题,想在一个makefile中编译两个tweak,应该如何写这个makefile呢,

TWEAK_NAME = Tweak
Tweak_FILES = Tweak.xm
Tweak_FRAMEWORKS = Foundation CoreFoundation UIKit
Tweak_PRIVATE_FRAMEWORKS = GraphicsServices IOKit

TWEAK_NAME = TCTweak TCTweakEx
TCTweak_FILES = Tweak.xm
TCTweak_FRAMEWORKS = Foundation CoreFoundation UIKit
TCTweak_PRIVATE_FRAMEWORKS = GraphicsServices IOKit

TCTweakEx_FILES = TweakEx.xm
TCTweakEx_FRAMEWORKS = Foundation CoreFoundation UIKit
TCTweakEx_PRIVATE_FRAMEWORKS = GraphicsServices IOKit

2 个赞