source:
ntrip/trunk/ntripserver/makefile@
2147
Last change on this file since 2147 was 1570, checked in by , 16 years ago | |
---|---|
File size: 435 bytes |
Rev | Line | |
---|---|---|
[486] | 1 | #!/usr/bin/make |
[1570] | 2 | # $Id: makefile,v 1.8 2008/01/04 15:22:44 stuerze 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: | |
[489] | 22 | tar -cvzf ntripserver.tgz makefile ntripserver.c README startntripserver.sh |
Note:
See TracBrowser
for help on using the repository browser.