source: ntrip/trunk/ntripserver/makefile@ 9833

Last change on this file since 9833 was 2382, checked in by stoecker, 15 years ago

updated makefile

File size: 523 bytes
Line 
1#!/usr/bin/make
2# $Id: makefile,v 1.9 2009/02/10 12:20:09 stoecker Exp $
3
4ifdef windir
5CC = gcc
6OPTS = -Wall -W -DWINDOWSVERSION
7LIBS = -lwsock32
8else
9OPTS = -Wall -W
10endif
11
12ntripserver: ntripserver.c
13 $(CC) $(OPTS) $? -O3 -DNDEBUG -o $@ $(LIBS)
14
15debug: ntripserver.c
16 $(CC) $(OPTS) $? -g -o ntripserver $(LIBS)
17
18clean:
19 $(RM) -f ntripserver core
20
21archive:
22 zip -9 ntripserver.zip makefile ntripserver.c README startntripserver.sh
23
24tgzarchive:
25 tar -cvzf ntripserver.tgz makefile ntripserver.c README startntripserver.sh
Note: See TracBrowser for help on using the repository browser.