source: ntrip/trunk/ntripserver/makefile@ 6075

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

updated makefile

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