From 27be5bc72855a0fbbdae230bc144624c9eb85f5e Mon Sep 17 00:00:00 2001 From: Michiel Van Der Kolk Date: Thu, 17 Mar 2005 20:50:03 +0000 Subject: Initial check in dumb 0.9.2 - has a few usages of floating point that should be rewritten to fixed point. seems to compile cleanly for iriver. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6197 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/dumb/make/mingw.inc | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 apps/codecs/dumb/make/mingw.inc (limited to 'apps/codecs/dumb/make/mingw.inc') diff --git a/apps/codecs/dumb/make/mingw.inc b/apps/codecs/dumb/make/mingw.inc new file mode 100644 index 0000000000..e58de58788 --- /dev/null +++ b/apps/codecs/dumb/make/mingw.inc @@ -0,0 +1,28 @@ +# This file contains MinGW-specific definitions. It will be included by the +# main Makefile when you compile with MinGW. + +PLATFORM := mingw + +APOST := \' + +# Macro for replacing / with \ where necessary. Usage: $(call FIX,path) +FIX = $(subst /,\,$(subst /*,\\\*,$(1))) + +ECHO = @$(COMSPEC) /C ECHO $(1) +# Note: the following two macros only work for single files! +DELETE = $(COMSPEC) /C DEL $(call FIX,$(1)) +COPY = $(COMSPEC) /C COPY $(call FIX,$(1)) $(call FIX,$(2)) + +EXE_SUFFIX := .exe + +LINK_MATH := +LINK_ALLEGRO := -lalleg + +ifndef MINGDIR +.PHONY: error +error: + $(call ECHO,Your MINGDIR environment variable is not set!) + $(call ECHO,Please set it to point to the directory containing your MinGW installation.) +endif + +PREFIX := $(MINGDIR) -- cgit v1.2.3