2005-04-19 20:53:42 +00:00
|
|
|
# Oolite-linux
|
|
|
|
# GNUmakefile.postamble: Runs after-compilation scripts.
|
|
|
|
# These copy all the base data files into where oolite expects them
|
|
|
|
# to live (Contents/Resources)
|
|
|
|
#
|
2006-03-10 21:57:57 +00:00
|
|
|
ifeq ($(debug),yes)
|
|
|
|
EXTENSION=debug
|
2006-04-01 18:57:39 +00:00
|
|
|
SHAREDOBJ=shared_debug_obj
|
2006-03-10 21:57:57 +00:00
|
|
|
else
|
|
|
|
EXTENSION=app
|
2006-04-01 18:57:39 +00:00
|
|
|
SHAREDOBJ=shared_obj
|
2006-03-10 21:57:57 +00:00
|
|
|
endif
|
2006-04-01 18:57:39 +00:00
|
|
|
|
|
|
|
ifeq ($(GNUSTEP_HOST_OS),mingw32)
|
|
|
|
BINARY=$(SHAREDOBJ)/$(OBJC_PROGRAM_NAME).exe
|
|
|
|
else
|
|
|
|
BINARY=$(SHAREDOBJ)/$(OBJC_PROGRAM_NAME)
|
|
|
|
endif
|
|
|
|
|
|
|
|
PROGDIR=$(OBJC_PROGRAM_NAME).$(EXTENSION)
|
|
|
|
GNUSTEP_OW=$(OBJC_PROGRAM_NAME).$(EXTENSION)/Resources/Info-gnustep.plist
|
2005-04-20 19:55:51 +00:00
|
|
|
|
2005-04-19 20:53:42 +00:00
|
|
|
after-all::
|
2007-03-28 02:16:03 +00:00
|
|
|
rm -rf $(PROGDIR)
|
2006-04-01 18:57:39 +00:00
|
|
|
$(MKDIRS) $(PROGDIR)
|
|
|
|
$(MKDIRS) $(PROGDIR)/Resources
|
2007-03-28 02:16:03 +00:00
|
|
|
$(CP) -r Resources $(PROGDIR)
|
2007-07-29 14:17:30 +00:00
|
|
|
$(CP) -r Schemata $(PROGDIR)/Resources
|
2006-03-05 16:26:25 +00:00
|
|
|
$(CP) src/Cocoa/Info-Oolite.plist $(GNUSTEP_OW)
|
2006-04-01 18:57:39 +00:00
|
|
|
$(CP) $(BINARY) $(PROGDIR)
|