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