Fix Linux build for git layout

This commit is contained in:
Jens Ayton 2013-05-11 23:56:28 +02:00
parent 52dff6239c
commit e3256a1b2a
2 changed files with 21 additions and 3 deletions

10
.gitignore vendored
View File

@ -7,7 +7,6 @@ ehthumbs.db
Icon? Icon?
# Xcode cruft # Xcode cruft
build/
project.xcworkspace/ project.xcworkspace/
xcuserdata/ xcuserdata/
*.mode1 *.mode1
@ -17,3 +16,12 @@ xcuserdata/
# Used for downloaded code # Used for downloaded code
deps/Cocoa-deps/sparkle deps/Cocoa-deps/sparkle
# Build products
build/
oolite.app
obj.spk
DebugOXP/requires.plist
AddOns/

View File

@ -23,10 +23,20 @@ DEST_BIN = $(OBJC_PROGRAM_NAME)$(EXT)$(OS_EXT)
PROGDIR=$(OBJC_PROGRAM_NAME).app PROGDIR=$(OBJC_PROGRAM_NAME).app
after-all:: after-all::
$(MKDIRS) $(PROGDIR) $(MKDIRS) $(PROGDIR)
$(MKDIRS) $(PROGDIR)/Resources $(MKDIRS) $(PROGDIR)/Resources
$(CP) $(CP_FLAGS) Resources $(PROGDIR) $(CP) $(CP_FLAGS) Resources/README.TXT $(PROGDIR)/Resources
$(CP) $(CP_FLAGS) Resources/InfoPlist.strings $(PROGDIR)/Resources
$(CP) $(CP_FLAGS) Resources/AIs $(PROGDIR)/Resources
$(CP) $(CP_FLAGS) Resources/Config $(PROGDIR)/Resources
$(CP) $(CP_FLAGS) Resources/Scripts $(PROGDIR)/Resources
$(CP) $(CP_FLAGS) Resources/Shaders $(PROGDIR)/Resources
$(CP) $(CP_FLAGS) Resources/Binary/Images $(PROGDIR)/Resources
$(CP) $(CP_FLAGS) Resources/Binary/Models $(PROGDIR)/Resources
$(CP) $(CP_FLAGS) Resources/Binary/Music $(PROGDIR)/Resources
$(CP) $(CP_FLAGS) Resources/Binary/Sounds $(PROGDIR)/Resources
$(CP) $(CP_FLAGS) Resources/Binary/Textures $(PROGDIR)/Resources
$(CP) $(CP_FLAGS) Schemata $(PROGDIR)/Resources $(CP) $(CP_FLAGS) Schemata $(PROGDIR)/Resources
ifeq ($(ESPEAK),yes) ifeq ($(ESPEAK),yes)
ifeq ($(GNUSTEP_HOST_OS),mingw32) ifeq ($(GNUSTEP_HOST_OS),mingw32)