aboutsummaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common
index 7f88cd1..fd57c44 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -31,6 +31,14 @@ OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer
LFLAGS = -export_dynamic -shared
endif
+ifeq ($(OS_NAME),MinGW)
+CC = gcc
+X_SUFFIX = dll
+DEFINES = -DNT -DMSW
+OPT_CFLAGS = -funroll-loops
+LFLAGS = -shared $(PD_DIR)/../bin/pd.dll
+endif
+
ifeq ($(OS_NAME),Darwin)
CC = gcc2
X_SUFFIX = pd_darwin