aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-10-08 16:39:31 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-10-08 16:39:31 +0000
commitf35331b8491a2e46819d4e9afb0e364b65f92513 (patch)
treec3dffb8d587af7809e33fd367e923bcbbb94e7d5
parentfa96dc64ded272f0a514bf2392e68c3738722bbe (diff)
added Cygwin section so things build on Cygwin
svn path=/trunk/externals/ext13/; revision=12558
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index be75fea..6fc3897 100644
--- a/Makefile
+++ b/Makefile
@@ -49,6 +49,16 @@ ifeq ($(UNAME),Linux)
LIBS += -lc
STRIP = strip --strip-unneeded -R .note -R .comment
endif
+ifeq (CYGWIN,$(findstring CYGWIN,$(UNAME)))
+ SOURCES +=
+ EXTENSION = dll
+ OS = cygwin
+ OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer
+ CFLAGS +=
+ LDFLAGS += -Wl,--export-dynamic -shared -L$(PD_PATH)/src
+ LIBS += -lc -lpd
+ STRIP = strip --strip-unneeded -R .note -R .comment
+endif
ifeq (MINGW,$(findstring MINGW,$(UNAME)))
SOURCES += $(SOURCES_Windows)
EXTENSION = dll