diff options
author | N.N. <krzyszcz@users.sourceforge.net> | 2005-01-11 10:33:23 +0000 |
---|---|---|
committer | N.N. <krzyszcz@users.sourceforge.net> | 2005-01-11 10:33:23 +0000 |
commit | 6435314717c5fb8fa062eb682c72c8df095b1be3 (patch) | |
tree | 484d02446358890397a755fc144d4ecf25b38f2d /Makefile.common | |
parent | b89456a346e176c4dc536e7de8f14b152cb2b15b (diff) |
svf~: args parsing; prepend/Append: bang handling; seq: pause, continue, goto; many maxmode changes
svn path=/trunk/externals/miXed/; revision=2490
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/Makefile.common b/Makefile.common index 93ffeb3..aec8e9e 100644 --- a/Makefile.common +++ b/Makefile.common @@ -10,7 +10,15 @@ endif OS_NAME = $(shell uname -s) ifneq ($(OS_NAME),Linux) ifneq ($(OS_NAME),Darwin) -# FIXME +ifeq (,$(findstring MinGW,$(OS_NAME))) +ifeq (,$(findstring MINGW,$(OS_NAME))) +$(error Fatal error: unknown environment "$(OS_NAME)". Aborting...) +else +OS_NAME = MinGW +endif +else +OS_NAME = MinGW +endif endif endif @@ -35,12 +43,13 @@ DEFINES = -DUNIX endif endif +# FIXME test if it actually works ifeq ($(OS_NAME),MinGW) CC = gcc X_SUFFIX = dll DEFINES = -DNT -DMSW OPT_CFLAGS = -funroll-loops -LFLAGS = -shared $(PD_DIR)/../bin/pd.dll +LFLAGS = -shared $(PD_DIR)/../bin/pd.dll -Wl,--enable-runtime-pseudo-reloc endif ifeq ($(OS_NAME),Darwin) @@ -140,6 +149,14 @@ $(if $(word 21,$(TYPES)),$(call TYPES_RULE,$(word 21,$(TYPES)))) $(if $(word 22,$(TYPES)),$(call TYPES_RULE,$(word 22,$(TYPES)))) $(if $(word 23,$(TYPES)),$(call TYPES_RULE,$(word 23,$(TYPES)))) $(if $(word 24,$(TYPES)),$(call TYPES_RULE,$(word 24,$(TYPES)))) +$(if $(word 25,$(TYPES)),$(call TYPES_RULE,$(word 25,$(TYPES)))) +$(if $(word 26,$(TYPES)),$(call TYPES_RULE,$(word 26,$(TYPES)))) +$(if $(word 27,$(TYPES)),$(call TYPES_RULE,$(word 27,$(TYPES)))) +$(if $(word 28,$(TYPES)),$(call TYPES_RULE,$(word 28,$(TYPES)))) +$(if $(word 29,$(TYPES)),$(call TYPES_RULE,$(word 29,$(TYPES)))) +$(if $(word 30,$(TYPES)),$(call TYPES_RULE,$(word 30,$(TYPES)))) +$(if $(word 31,$(TYPES)),$(call TYPES_RULE,$(word 31,$(TYPES)))) +$(if $(word 32,$(TYPES)),$(call TYPES_RULE,$(word 32,$(TYPES)))) SHOBJECTS = $(foreach fn,$(SHARED_OBJECTS),$(SHARED_DIR)/$(fn)) LXSHOBJECTS = $(foreach fn,$(LXSHARED_OBJECTS),$(SHARED_DIR)/$(fn)) |