summaryrefslogtreecommitdiff
path: root/apps/codecs/dumb/make/mingw.inc
diff options
context:
space:
mode:
authorMichiel Van Der Kolk <not.valid@email.address>2005-03-17 20:50:03 +0000
committerMichiel Van Der Kolk <not.valid@email.address>2005-03-17 20:50:03 +0000
commit27be5bc72855a0fbbdae230bc144624c9eb85f5e (patch)
treeb553f1321df924c4b744ffcab48dce5f4f081f7d /apps/codecs/dumb/make/mingw.inc
parent7e7662bb716917ca431204f0113d400c1014f2e8 (diff)
downloadrockbox-27be5bc72855a0fbbdae230bc144624c9eb85f5e.tar.gz
rockbox-27be5bc72855a0fbbdae230bc144624c9eb85f5e.zip
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
Diffstat (limited to 'apps/codecs/dumb/make/mingw.inc')
-rw-r--r--apps/codecs/dumb/make/mingw.inc28
1 files changed, 28 insertions, 0 deletions
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 @@
1# This file contains MinGW-specific definitions. It will be included by the
2# main Makefile when you compile with MinGW.
3
4PLATFORM := mingw
5
6APOST := \'
7
8# Macro for replacing / with \ where necessary. Usage: $(call FIX,path)
9FIX = $(subst /,\,$(subst /*,\\\*,$(1)))
10
11ECHO = @$(COMSPEC) /C ECHO $(1)
12# Note: the following two macros only work for single files!
13DELETE = $(COMSPEC) /C DEL $(call FIX,$(1))
14COPY = $(COMSPEC) /C COPY $(call FIX,$(1)) $(call FIX,$(2))
15
16EXE_SUFFIX := .exe
17
18LINK_MATH :=
19LINK_ALLEGRO := -lalleg
20
21ifndef MINGDIR
22.PHONY: error
23error:
24 $(call ECHO,Your MINGDIR environment variable is not set!)
25 $(call ECHO,Please set it to point to the directory containing your MinGW installation.)
26endif
27
28PREFIX := $(MINGDIR)