diff --git a/GNUmakefile b/GNUmakefile index 7056720..cdd457f 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,60 +1,20 @@ -# -# GNUmakefile - Generated by ProjectCenter -# -include $(GNUSTEP_MAKEFILES)/common.make +CFLAGS=-Wall +LDFLAGS=-framework Cocoa -# -# Application -# -VERSION = 0.1 -PACKAGE_NAME = chocolate-launcher -APP_NAME = chocolate-launcher -chocolate-launcher_APPLICATION_ICON = 48x48.png +OBJS= AppController.o \ + Execute.o \ + IWADController.o \ + IWADLocation.o \ + LauncherManager.o \ + main.o +launcher : $(OBJS) + $(CC) $(LDFLAGS) $(OBJS) -o $@ -# -# Resource files -# -chocolate-launcher_RESOURCE_FILES = \ -Resources/launcher.nib \ -Resources/Main.gsmarkup \ -Resources/MainMenu-GNUstep.gsmarkup \ -Resources/MainMenu-OSX.gsmarkup \ -Resources/48x48.png \ -Resources/128x128.png +%.o : %.m + $(CC) -c $(CFLAGS) $^ -o $@ +clean : + rm -f $(OBJS) launcher -# -# Header files -# -chocolate-launcher_HEADER_FILES = \ -AppController.h \ -Execute.h \ -IWADController.h \ -IWADLocation.h \ -LauncherManager.h - -# -# Class files -# -chocolate-launcher_OBJC_FILES = \ -AppController.m \ -Execute.m \ -IWADController.m \ -IWADLocation.m \ -LauncherManager.m - -# -# Other sources -# -chocolate-launcher_OBJC_FILES += \ -main.m - -# -# Makefiles -# --include GNUmakefile.preamble -include $(GNUSTEP_MAKEFILES)/aggregate.make -include $(GNUSTEP_MAKEFILES)/application.make --include GNUmakefile.postamble diff --git a/GNUmakefile.postamble b/GNUmakefile.postamble deleted file mode 100644 index 00007e8..0000000 --- a/GNUmakefile.postamble +++ /dev/null @@ -1,40 +0,0 @@ -# -# GNUmakefile.postamble - Generated by ProjectCenter -# - -# Things to do before compiling -# before-all:: - -# Things to do after compiling -# after-all:: - -# Things to do before installing -# before-install:: - -# Things to do after installing -# after-install:: - -# Things to do before uninstalling -# before-uninstall:: - -# Things to do after uninstalling -# after-uninstall:: - -# Things to do before cleaning -# before-clean:: - -# Things to do after cleaning -# after-clean:: - -# Things to do before distcleaning -# before-distclean:: - -# Things to do after distcleaning -# after-distclean:: - -# Things to do before checking -# before-check:: - -# Things to do after checking -# after-check:: - diff --git a/GNUmakefile.preamble b/GNUmakefile.preamble deleted file mode 100644 index b33bdf0..0000000 --- a/GNUmakefile.preamble +++ /dev/null @@ -1,25 +0,0 @@ -# -# GNUmakefile.preamble - Generated by ProjectCenter -# - -# Additional flags to pass to the preprocessor -ADDITIONAL_CPPFLAGS += - -# Additional flags to pass to Objective C compiler -ADDITIONAL_OBJCFLAGS += - -# Additional flags to pass to C compiler -ADDITIONAL_CFLAGS += - -# Additional flags to pass to the linker -ADDITIONAL_LDFLAGS += - -# Additional include directories the compiler should search -ADDITIONAL_INCLUDE_DIRS += - -# Additional library directories the linker should search -ADDITIONAL_LIB_DIRS += - -# Additional GUI libraries to link -ADDITIONAL_GUI_LIBS += - diff --git a/PC.project b/PC.project deleted file mode 100644 index af9fbde..0000000 --- a/PC.project +++ /dev/null @@ -1,95 +0,0 @@ -{ - APPLICATIONICON = 48x48.png; - APP_DOCUMENT_BASED = NO; - APP_TYPE = GORM; - BUILDER_ARGS = ( - ); - CLASS_FILES = ( - AppController.m, - Execute.m, - IWADController.m, - IWADLocation.m, - LauncherManager.m - ); - COMPILEROPTIONS = ""; - CPPOPTIONS = ""; - CREATION_DATE = "2009-12-24 22:48:58 +0000"; - DOCU_FILES = ( - ); - FRAMEWORKS = ( - ); - HEADER_FILES = ( - AppController.h, - Execute.h, - IWADController.h, - IWADLocation.h, - LauncherManager.h - ); - IMAGES = ( - 48x48.png, - 128x128.png - ); - INSTALLDIR = "$(HOME)/GNUstep"; - INTERFACES = ( - launcher.nib, - Main.gsmarkup, - "MainMenu-GNUstep.gsmarkup", - "MainMenu-OSX.gsmarkup" - ); - LANGUAGE = English; - LAST_EDITING = "2009-12-26 22:26:47 +0000"; - LIBRARIES = ( - "gnustep-base", - "gnustep-gui" - ); - LINKEROPTIONS = ""; - LOCALIZED_RESOURCES = ( - ); - MAININTERFACE = launcher.nib; - MAKEFILEDIR = "$(GNUSTEP_MAKEFILES)"; - OBJC_COMPILEROPTIONS = ""; - OTHER_RESOURCES = ( - ); - OTHER_SOURCES = ( - main.m - ); - PC_WINDOWS = { - ProjectBrowser = "{x = 0; y = 0; width = 786; height = 161}"; - ProjectBuild = "0 0 0 0 0 0 0 -1 "; - ProjectWindow = "178 32 810 544 0 0 1024 600 "; - ShowToolbar = YES; - }; - PRINCIPAL_CLASS = NSApplication; - PROJECT_AUTHORS = ( - "Simon Howard" - ); - PROJECT_COPYRIGHT = "Copyright (C) 2009"; - PROJECT_COPYRIGHT_DESC = "GNU General Public License, version 2"; - PROJECT_CREATOR = "Simon Howard,,,"; - PROJECT_DESCRIPTION = "Launcher program for Chocolate Doom"; - PROJECT_DOCUMENTTYPES = ( - ); - PROJECT_GROUP = "No group available!"; - PROJECT_MAINTAINER = "Simon Howard,,,"; - PROJECT_NAME = "chocolate-launcher"; - PROJECT_RELEASE = 0.1; - PROJECT_SUMMARY = "No summary available!"; - PROJECT_TYPE = Application; - PROJECT_URL = "http://www.chocolate-doom.org/"; - SEARCH_HEADER_DIRS = ( - ); - SEARCH_LIB_DIRS = ( - ); - SUBPROJECTS = ( - ); - SUPPORTING_FILES = ( - GNUmakefile.preamble, - GNUmakefile, - GNUmakefile.postamble, - "chocolate-launcherInfo.plist" - ); - USER_LANGUAGES = ( - BritainEnglish, - English - ); -} diff --git a/Resources/48x48.png b/Resources/48x48.png deleted file mode 100644 index 5b932e8..0000000 Binary files a/Resources/48x48.png and /dev/null differ diff --git a/Resources/Main.gsmarkup b/Resources/Main.gsmarkup deleted file mode 100644 index e403420..0000000 --- a/Resources/Main.gsmarkup +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/Resources/MainMenu-GNUstep.gsmarkup b/Resources/MainMenu-GNUstep.gsmarkup deleted file mode 100644 index fa9bb76..0000000 --- a/Resources/MainMenu-GNUstep.gsmarkup +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Resources/MainMenu-OSX.gsmarkup b/Resources/MainMenu-OSX.gsmarkup deleted file mode 100644 index a20024f..0000000 --- a/Resources/MainMenu-OSX.gsmarkup +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app-skeleton/Contents/Info.plist b/app-skeleton/Contents/Info.plist new file mode 100755 index 0000000..40f20f4 --- /dev/null +++ b/app-skeleton/Contents/Info.plist @@ -0,0 +1,30 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleDisplayName + Chocolate Doom + CFBundleExecutable + launcher + CFBundleGetInfoString + Chocolate Doom 1.2.1 + CFBundleIconFile + chocolate-doom.icns + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ChocolateDoom + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.2.1 + CFBundleVersion + 1.2.1 + NSPrincipalClass + NSApplication + NSMainNibFile + launcher + + diff --git a/app-skeleton/Contents/PkgInfo b/app-skeleton/Contents/PkgInfo new file mode 100644 index 0000000..6f749b0 --- /dev/null +++ b/app-skeleton/Contents/PkgInfo @@ -0,0 +1 @@ +APPL???? diff --git a/app-skeleton/Contents/Resources/chocolate-doom.icns b/app-skeleton/Contents/Resources/chocolate-doom.icns new file mode 100644 index 0000000..9b535a2 Binary files /dev/null and b/app-skeleton/Contents/Resources/chocolate-doom.icns differ diff --git a/chocolate-launcherInfo.plist b/chocolate-launcherInfo.plist deleted file mode 100644 index 48e7a3f..0000000 --- a/chocolate-launcherInfo.plist +++ /dev/null @@ -1,18 +0,0 @@ -{ - ApplicationDescription = "Launcher program for Chocolate Doom"; - ApplicationIcon = 48x48.png; - ApplicationName = "chocolate-launcher"; - ApplicationRelease = 0.1; - Authors = ( - "Simon Howard" - ); - Copyright = "Copyright (C) 2009"; - CopyrightDescription = "GNU General Public License, version 2"; - FullVersionID = 0.1; - NSExecutable = "chocolate-launcher"; - NSIcon = 48x48.png; - NSMainNibFile = launcher.nib; - NSPrincipalClass = NSApplication; - NSRole = Application; - URL = "http://www.chocolate-doom.org/"; -}