Changeset 653 in ntrip for trunk/ntripserver/makefile


Ignore:
Timestamp:
Jan 4, 2008, 4:23:06 PM (15 years ago)
Author:
stuerze
Message:

lines for windows compatibility added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ntripserver/makefile

    r489 r653  
    11#!/usr/bin/make
    2 # $Id: makefile,v 1.6 2007/08/30 07:45:59 stoecker Exp $
     2# $Id: makefile,v 1.7 2007/08/30 14:57:34 stuerze Exp $
     3
     4ifdef windir
     5CC   = gcc
     6OPTS = -Wall -W -O3 -DWINDOWSVERSION
     7LIBS = -lwsock32
     8else
     9OPTS = -Wall -W -O3
     10endif
    311
    412ntripserver: ntripserver.c
    5         $(CC) -Wall -W -O3 $? -DNDEBUG -o $@
     13        $(CC) $(OPTS) $? -DNDEBUG -o $@ $(LIBS)
    614
    715debug: ntripserver.c
    8         $(CC) -Wall -W -O3 $? -o ntripserver
     16        $(CC) $(OPTS) $? -o ntripserver $(LIBS)
    917
    1018clean:
Note: See TracChangeset for help on using the changeset viewer.