changeset 1:254045a265e0 default tip

Fix Makefile.
author pyon@macmini
date Fri, 25 Apr 2014 06:02:21 +0900
parents 6235b9a84d53
children
files Makefile info.plist.in wxmac.icns
diffstat 3 files changed, 42 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Mon Apr 21 20:44:57 2014 +0900
+++ b/Makefile	Fri Apr 25 06:02:21 2014 +0900
@@ -1,5 +1,5 @@
 # Makefile for wxWidgets Application
-# Last Change: 21-Apr-2014.
+# Last Change: 25-Apr-2014.
 # by Takayuki Mutoh
 #
 
@@ -42,9 +42,13 @@
 
 all: $(EXECUTABLE)
 
-
+ifdef COMSPEC
 $(PROGNAME): $(OBJMSW)
 	$(CXX) $^ -o $@ $(LIBS)
+else
+$(PROGNAME): $(OBJ)
+	$(CXX) $^ -o $@ $(LIBS)
+endif
 
 
 $(OBJDIR)/main.o: main.cpp main.h myframe.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/info.plist.in	Fri Apr 25 06:02:21 2014 +0900
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
+<plist version="0.9">
+<dict>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundleIdentifier</key>
+	<string>org.wxwindows.IDENTIFIER</string>
+	<key>CFBundleDevelopmentRegion</key>
+	<string>English</string>
+	<key>CFBundleExecutable</key>
+	<string>EXECUTABLE</string>
+	<key>CFBundleIconFile</key>
+	<string>wxmac.icns</string>
+	<key>CFBundleName</key>
+	<string>EXECUTABLE</string>
+	<key>CFBundlePackageType</key>
+	<string>APPL</string>
+	<key>CFBundleSignature</key>
+	<string>????</string>
+	<key>CFBundleVersion</key>
+	<string>VERSION</string>
+	<key>CFBundleShortVersionString</key>
+	<string>VERSION</string>
+	<key>CFBundleGetInfoString</key>
+	<string>EXECUTABLE version VERSION, (c) 2002-2006 wxWidgets</string>
+	<key>CFBundleLongVersionString</key>
+	<string>VERSION, (c) 2002-2006 wxWidgets</string>
+	<key>NSHumanReadableCopyright</key>
+	<string>Copyright 2002-2006 wxWidgets</string>
+	<key>LSRequiresCarbon</key>
+	<true/>
+	<key>CSResourcesFileMapped</key>
+	<true/>
+</dict>
+</plist>
Binary file wxmac.icns has changed