Update tool and linking

This commit is contained in:
Gregory John Casamento 2023-06-05 04:36:11 -04:00
parent 540768c15b
commit 37bac6a8e9
4 changed files with 19 additions and 6 deletions

View file

@ -61,7 +61,8 @@ SUBPROJECTS = \
GormCore \
GormPrefs \
Palettes \
Plugins
Plugins \
Tools
#
# MAIN APP
@ -192,8 +193,6 @@ Gorm_OBJC_FILES = \
Gorm.m \
main.m
# Gorm_ADDITIONAL_NATIVE_LIBS = m
-include GNUmakefile.preamble
-include GNUmakefile.local

View file

@ -1,4 +1,5 @@
#import <Foundation/NSObject.h>
#import <AppKit/NSApplication.h>
@interface AppDelegate : NSObject
@interface AppDelegate : NSObject <NSApplicationDelegate>
@end

View file

@ -1,4 +1,11 @@
#import "AppDelegate.h"
#import <Foundation/NSNotification.h>
@implementation AppDelegate
- (void) applicationDidFinishLaunching: (NSNotification *)n
{
NSLog(@"== gormtool");
}
@end

View file

@ -11,12 +11,18 @@ gormtool_HEADER_FILES =
gormtool_OBJC_FILES = main.m AppDelegate.m
ADDITIONAL_TOOL_LIBS = \
-lGormObjCHeaderParser \
-lGormPrefs \
-lGormCore \
-IInterfaceBuilder \
-IGorm \
-lgnustep-base \
-lgnustep-gui
ADDITIONAL_LIB_DIRS = -L../../GormCore/obj -L../../InterfaceBuilder/obj
ADDITIONAL_LIB_DIRS = -L../../GormCore/obj \
-L../../InterfaceBuilder/obj \
-L../../GormPrefs/obj \
-L../../GormObjCHeaderParser/obj
ADDITIONAL_INCLUDE_DIRS = -I../../
-include GNUmakefile.preamble