2010-02-06 19:39:56 +00:00
|
|
|
# Conveniently, this here xcconfig file declares the version in a make-compatible format.
|
2009-11-28 14:41:50 +00:00
|
|
|
OOLITE_VERSION_FILE = ../src/Cocoa/oolite-version.xcconfig
|
|
|
|
include $(OOLITE_VERSION_FILE)
|
|
|
|
|
|
|
|
TARGET = Basic-debug.oxp
|
|
|
|
|
|
|
|
|
|
|
|
$(TARGET): Resources/debugConfig.plist Resources/DebugOXPLocatorBeacon.magic Resources/oolite-debug-console.js requires.plist
|
|
|
|
rm -rf $(TARGET)
|
|
|
|
mkdir $(TARGET)
|
|
|
|
mkdir $(TARGET)/Config
|
|
|
|
mkdir $(TARGET)/Scripts
|
|
|
|
cp Resources/debugConfig.plist $(TARGET)/Config/
|
|
|
|
cp Resources/DebugOXPLocatorBeacon.magic $(TARGET)/
|
|
|
|
cp Resources/oolite-debug-console.js $(TARGET)/Scripts/
|
|
|
|
cp requires.plist $(TARGET)/
|
|
|
|
|
|
|
|
requires.plist: $(OOLITE_VERSION_FILE)
|
2010-02-06 19:39:56 +00:00
|
|
|
echo "{ version = \"$(OOLITE_VERSION)\"; max_version = \"$(OOLITE_VERSION).99\"; }" > $@
|
2009-11-28 14:41:50 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf $(TARGET)
|
2010-02-06 19:39:56 +00:00
|
|
|
rm -rf requires.plist
|