diff options
author | 2010-04-11 15:01:21 +0200 | |
---|---|---|
committer | 2010-04-11 15:01:21 +0200 | |
commit | e763dfa3ddf5c499875a6e1e9ec91d7fc154c076 (patch) | |
tree | 8fddc5ecbb1d867afa4690cfdde245929cafb21c /plugins/dumb/dumb-kode54/make/mingw.inc | |
parent | dc0b9121ff16d57f92f4ab2b16bf78518d3a8b9b (diff) |
moved DUMB to dynamic plugin
Diffstat (limited to 'plugins/dumb/dumb-kode54/make/mingw.inc')
-rw-r--r-- | plugins/dumb/dumb-kode54/make/mingw.inc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/plugins/dumb/dumb-kode54/make/mingw.inc b/plugins/dumb/dumb-kode54/make/mingw.inc new file mode 100644 index 00000000..065f2e5f --- /dev/null +++ b/plugins/dumb/dumb-kode54/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)
|