source: ntrip/trunk/ntripserver/makefile@ 1049

Last change on this file since 1049 was 653, checked in by stuerze, 17 years ago

lines for windows compatibility added

File size: 436 bytes
RevLine 
[486]1#!/usr/bin/make
[653]2# $Id: makefile,v 1.7 2007/08/30 14:57:34 stuerze Exp $
[466]3
[653]4ifdef windir
5CC = gcc
6OPTS = -Wall -W -O3 -DWINDOWSVERSION
7LIBS = -lwsock32
8else
9OPTS = -Wall -W -O3
10endif
11
[486]12ntripserver: ntripserver.c
[653]13 $(CC) $(OPTS) $? -DNDEBUG -o $@ $(LIBS)
[466]14
[486]15debug: ntripserver.c
[653]16 $(CC) $(OPTS) $? -o ntripserver $(LIBS)
[469]17
[466]18clean:
[482]19 $(RM) -f ntripserver core
[466]20
21archive:
[489]22 tar -cvzf ntripserver.tgz makefile ntripserver.c README startntripserver.sh
Note: See TracBrowser for help on using the repository browser.