diff --git a/Info.plist b/Info.plist
index e38a789..9f7f610 100644
--- a/Info.plist
+++ b/Info.plist
@@ -19,7 +19,11 @@
CFBundleSignature
slfe
CFBundleVersion
- 2.5
+ 0
+ CFBundleShortVersionString
+ 0
+ CFBundleGitVersionString
+ 0
NSMainNibFile
MainMenu
NSPrincipalClass
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..52274ce
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,28 @@
+SOURCE={*/,}*.{h,m}
+APP=Slife
+DATE=`date +%Y.%m.%d`
+BUILD=`git log --oneline | wc -l`
+COMMIT=`git rev-parse --verify HEAD`
+
+DEFAULT: debug
+
+debug: debug-build
+ ./build/Debug/$(APP).app/Contents/MacOS/$(APP)
+debug-build: $(SOURCE)
+ xcodebuild -configuration Debug build OBJROOT=build SYMROOT=build
+
+release: release-app
+ git tag -a $(DATE) -m"$(DATE)"
+ cd build/Release && zip -9r ../../$(APP)-$(DATE).zip $(APP).app
+release-app: release-build
+ /usr/libexec/PlistBuddy \
+ -c "Set :CFBundleShortVersionString $(DATE)" \
+ -c "Set :CFBundleGitVersionString $(COMMIT)" \
+ -c "Set :CFBundleVersion $(BUILD)" \
+ build/Release/$(APP).app/Contents/Info.plist
+release-build: $(SOURCE)
+ xcodebuild -configuration Release build OBJROOT=build SYMROOT=build
+
+clobber:
+ rm -r build
+