Index: trunk/ntripclient/makefile
===================================================================
--- trunk/ntripclient/makefile	(revision 595)
+++ trunk/ntripclient/makefile	(revision 611)
@@ -1,8 +1,10 @@
-# $Id: makefile,v 1.4 2007/10/05 15:32:13 stuerze Exp $
+# $Id: makefile,v 1.5 2007/12/12 09:45:23 stoecker Exp $
 # probably works not with all compilers. Thought this should be easy
 # fixable. There is nothing special at this source.
 
 ifdef windir
-OPTS = -Wall -W -O3 -DWINDOWSVERSION -lwsock32
+CC   = gcc
+OPTS = -Wall -W -O3 -DWINDOWSVERSION 
+LIBS = -lwsock32
 else
 OPTS = -Wall -W -O3 
@@ -10,5 +12,5 @@
 
 ntripclient: ntripclient.c
-	$(CC) $(OPTS) $? -o $@
+	$(CC) $(OPTS) $? -o $@ $(LIBS)
 
 clean:
@@ -18,2 +20,3 @@
 archive:
 	tar -czf ntripclient.tgz ntripclient.c makefile README startntripclient.sh
+
