Add ctags.
This commit is contained in:
@@ -124,7 +124,7 @@
|
|||||||
CGPoint itemOrigin = [[[_statusItem button] window] frame].origin;
|
CGPoint itemOrigin = [[[_statusItem button] window] frame].origin;
|
||||||
|
|
||||||
// NOTE: -5 because NSMenu pops up higher than wanted; don't know how
|
// NOTE: -5 because NSMenu pops up higher than wanted; don't know how
|
||||||
// it will behave on different displays and resolutions.
|
// it will behave on different displays, resolutions, or OS versions.
|
||||||
CGFloat y =
|
CGFloat y =
|
||||||
NSHeight([scrn visibleFrame]) + [scrn visibleFrame].origin.y - 5;
|
NSHeight([scrn visibleFrame]) + [scrn visibleFrame].origin.y - 5;
|
||||||
|
|
||||||
|
|||||||
@@ -29,5 +29,10 @@ $(EXEC).app: $(EXEC)
|
|||||||
cp resources/AppIcon.icns $@/Contents/Resources/ && \
|
cp resources/AppIcon.icns $@/Contents/Resources/ && \
|
||||||
cp $(EXEC) $@/Contents/MacOS/
|
cp $(EXEC) $@/Contents/MacOS/
|
||||||
|
|
||||||
|
# Requires universal-ctags for Objective-C.
|
||||||
|
ctags:
|
||||||
|
ctags -R *.h *.m
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(EXEC) $(EXEC).dSYM $(EXEC).app
|
rm -rf $(EXEC) $(EXEC).dSYM $(EXEC).app
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user