From 7eb5d796f4e62d4cd0d4c11251f934665e4fba1d Mon Sep 17 00:00:00 2001 From: nishi Date: Tue, 23 Apr 2024 02:06:43 +0000 Subject: [PATCH] some git-svn-id: file:///raid/svn-main/nishi-serenade/trunk@3 0f02c867-ac3d-714e-8a88-971ba1f6efcf --- Makefile | 2 ++ platform.mk | 2 ++ platforms/win32.mk | 5 +++++ platforms/win64.mk | 5 +++++ 4 files changed, 14 insertions(+) create mode 100644 platform.mk create mode 100644 platforms/win32.mk create mode 100644 platforms/win64.mk diff --git a/Makefile b/Makefile index e9ef2fb..3e02d44 100644 --- 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 index 0000000..02b5f16 --- /dev/null +++ b/platform.mk @@ -0,0 +1,2 @@ +# $Id$ + diff --git a/platforms/win32.mk b/platforms/win32.mk new file mode 100644 index 0000000..162cd15 --- /dev/null +++ b/platforms/win32.mk @@ -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 index 0000000..5c64fea --- /dev/null +++ b/platforms/win64.mk @@ -0,0 +1,5 @@ +# $Id$ +# Copy me to trunk/platform.mk + +CC = x86_64-w64-mingw32-gcc +SUFFIX = .exe -- 2.43.0