]> Nishi Git Mirror - serenade.git/commitdiff
some
authornishi <nishi@0f02c867-ac3d-714e-8a88-971ba1f6efcf>
Tue, 23 Apr 2024 02:06:43 +0000 (02:06 +0000)
committernishi <nishi@0f02c867-ac3d-714e-8a88-971ba1f6efcf>
Tue, 23 Apr 2024 02:06:43 +0000 (02:06 +0000)
git-svn-id: file:///raid/svn-main/nishi-serenade/trunk@3 0f02c867-ac3d-714e-8a88-971ba1f6efcf

Makefile
platform.mk [new file with mode: 0644]
platforms/win32.mk [new file with mode: 0644]
platforms/win64.mk [new file with mode: 0644]

index e9ef2fbcfcdbf22f7c7aa2c6ec8493ee243e2e7e..3e02d44503ebc5db3196c25bf95415ec6a3d31ce 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,8 @@ LDFLAGS =
 LIBS =
 SUFFIX =
 
+.include "platform.mk"
+
 .PHONY: all ./Serenade
 
 all: ./Tool ./Serenade
diff --git a/platform.mk b/platform.mk
new file mode 100644 (file)
index 0000000..02b5f16
--- /dev/null
@@ -0,0 +1,2 @@
+# $Id$
+
diff --git a/platforms/win32.mk b/platforms/win32.mk
new file mode 100644 (file)
index 0000000..162cd15
--- /dev/null
@@ -0,0 +1,5 @@
+# $Id$
+# Copy me to trunk/platform.mk
+
+CC = i686-w64-mingw32-gcc
+SUFFIX = .exe
diff --git a/platforms/win64.mk b/platforms/win64.mk
new file mode 100644 (file)
index 0000000..5c64fea
--- /dev/null
@@ -0,0 +1,5 @@
+# $Id$
+# Copy me to trunk/platform.mk
+
+CC = x86_64-w64-mingw32-gcc
+SUFFIX = .exe