source: ntrip/trunk/ntripserver/makefile@ 1322

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

lines for windows compatibility added

File size: 436 bytes
Line 
1#!/usr/bin/make
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
11
12ntripserver: ntripserver.c
13 $(CC) $(OPTS) $? -DNDEBUG -o $@ $(LIBS)
14
15debug: ntripserver.c
16 $(CC) $(OPTS) $? -o ntripserver $(LIBS)
17
18clean:
19 $(RM) -f ntripserver core
20
21archive:
22 tar -cvzf ntripserver.tgz makefile ntripserver.c README startntripserver.sh
Note: See TracBrowser for help on using the repository browser.