summaryrefslogtreecommitdiff
path: root/tools/Makefile.mingw
diff options
context:
space:
mode:
authorfcolin2011-11-02 16:52:48 +0000
committerfcolin2011-11-02 16:52:48 +0000
commitcbc77d2b7cbf19c2eb80bfe0b6100a0b9b8c1f06 (patch)
tree7ba5a0bf63696fb5872564823c1395186c57204c /tools/Makefile.mingw
parent1762b1c59c186f54a756c7b72bea7fd8c5115fda (diff)
downloadivy-c-cbc77d2b7cbf19c2eb80bfe0b6100a0b9b8c1f06.zip
ivy-c-cbc77d2b7cbf19c2eb80bfe0b6100a0b9b8c1f06.tar.gz
ivy-c-cbc77d2b7cbf19c2eb80bfe0b6100a0b9b8c1f06.tar.bz2
ivy-c-cbc77d2b7cbf19c2eb80bfe0b6100a0b9b8c1f06.tar.xz
Update to compile under MinGW
Diffstat (limited to 'tools/Makefile.mingw')
-rw-r--r--tools/Makefile.mingw13
1 files changed, 7 insertions, 6 deletions
diff --git a/tools/Makefile.mingw b/tools/Makefile.mingw
index d2d71e4..51c6bbb 100644
--- a/tools/Makefile.mingw
+++ b/tools/Makefile.mingw
@@ -16,8 +16,8 @@
#
-RM=del
-#RM=rm -f
+#RM=del
+RM=rm -f
XTINC =
XTLIB =
GTKINC = `gtk-config --cflags`
@@ -26,19 +26,20 @@ GLUTINC = -I/usr/include -I.
GLUTLIB = -L.
TCLINCL = -I/usr/include/tcl8.4
TCLLIB = -ltcl84
-EXTRALIB= -L../src -lwsock32 -lregex
+
+EXTRALIB= -L../src -lws2_32
EXTRAINC=-I../src
CC=gcc
-CFLAGS = -g
+#CFLAGS = -g
# IVY full debug
-#CFLAGS = -g -DDEBUG
+CFLAGS = -g -DDEBUG
TARGETS = ivyprobe
# not yiet ivygtkprobe ivyxtprobe need Modified Glut ivyglutprobe
.c.o:
- $(CC) $(CFLAGS) $(EXTRAINC) -c $*.c
+ $(CC) $(CFLAGS) $(PCREINC) $(EXTRAINC) -c $*.c
all: $(TARGETS)