From f35331b8491a2e46819d4e9afb0e364b65f92513 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 8 Oct 2009 16:39:31 +0000 Subject: added Cygwin section so things build on Cygwin svn path=/trunk/externals/ext13/; revision=12558 --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.1