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