summaryrefslogtreecommitdiff
path: root/makefiles/makeinclude.cygnus
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1998-10-06 18:21:25 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1998-10-06 18:21:25 +0000
commitf9039b2ae21988783feae9b362818e7923e82d14 (patch)
tree6d6fe3679d73448758f9794e7d4d4f6b22a4adad /makefiles/makeinclude.cygnus
parent67e89232f9ba067825a158734a09e0fa21aacbe3 (diff)
Initial revision
git-svn-id: file:///fltk/svn/fltk/trunk@2 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'makefiles/makeinclude.cygnus')
-rw-r--r--makefiles/makeinclude.cygnus43
1 files changed, 43 insertions, 0 deletions
diff --git a/makefiles/makeinclude.cygnus b/makefiles/makeinclude.cygnus
new file mode 100644
index 000000000..239e87661
--- /dev/null
+++ b/makefiles/makeinclude.cygnus
@@ -0,0 +1,43 @@
+# !!!! YOU PROBABLY WANT TO USE makeinclude.mingw32 INSTEAD !!!!
+
+# Makeinclude file for the Cygwin B19 release of GCC for Windoze
+#
+# This will try to use Cygwin's Unix emulation as much as possible,
+# which means it will link in Cygwin's libraries. This seems to
+# result in much slower performance, and the only real difference
+# is that the file chooser uses cygwin's scandir implementation
+# rather than my own. To compile with direct windoze calls
+# use the file makeinclude.mingw32.
+
+# Copy this file to .. and run make.
+# Thanks to Philipp Knirsch at Lucent and Carl Thompson
+
+prefix =/usr/local
+exec_prefix =${prefix}
+bindir =${exec_prefix}/bin
+includedir =${prefix}/include
+libdir =${exec_prefix}/lib
+srcdir =.
+
+# compiler names:
+CXX =g++
+CC =gcc
+
+# flags for C++ compiler:
+CFLAGS =-Wall -O2 -DCYGNUS
+CXXFLAGS =-Wall -O2 -DCYGNUS
+CXXFLAGS_D =-Wall -g -DDEBUG -DCYGNUS
+
+# program to make the archive:
+LIBNAME =libfltk.a
+LIBNAME_D =libfltk_d.a
+AR =ar -ruv
+RANLIB =ranlib
+
+# libraries to link with:
+LDLIBS =-lgdi32 -luser32 -lm
+
+# libraries to link with when using GL:
+GLDLIBS =-lgdi32 -luser32 -lglu32 -lopengl32 -lm
+
+INSTALL =/CYGNUS/B19/H-I386~1/BIN/install -c