Update of /cvsroot/mahogany/M/src
In directory sc8-pr-cvs1:/tmp/cvs-serv5117/src
Modified Files:
Makefile
Log Message:
Mahogany can now be compiled with cygwin's -mno-cygwin switch (mingw)
Index: Makefile
===================================================================
RCS file: /cvsroot/mahogany/M/src/Makefile,v
retrieving revision 1.90
retrieving revision 1.91
diff -b -u -2 -r1.90 -r1.91
--- Makefile 23 Jun 2003 19:15:59 -0000 1.90
+++ Makefile 15 Jul 2003 00:47:33 -0000 1.91
@@ -49,10 +49,18 @@
# for cygwin/mingw we need to add resources to the main binary
+# and use -mwindows in order to make GUI binary
ifdef USE_RESOURCES
-M_RES := ../res/M.res
+M_RES := ../res/M.res -mwindows
else
M_RES :=
endif
+# for cygwin with -mno-cygwin (mingw) we need to add additional libs
+ifdef USE_MINGW
+M_MINGW_LIBS := -lwsock32 -lwinmm
+else
+M_MINGW_LIBS :=
+endif
+
# OK, we've got all the names and the rules to generate them; we can
# now actually specify the dependencies.
@@ -61,5 +69,5 @@
M: $(MOBJS)
- $(LINK) -o M $(MOBJS) $(LDFLAGS) $(GUI_LIBS) $(LIBS) $(M_RES)
+ $(LINK) -o M $(MOBJS) $(LDFLAGS) $(GUI_LIBS) $(LIBS) $(M_MINGW_LIBS) $(M_RES)
ifdef USE_MAC
$(REZ) -t APPL Carbon.r -o $@
-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates