Last change
on this file since 1280 was 653, checked in by stuerze, 17 years ago |
lines for windows compatibility added
|
File size:
436 bytes
|
Line | |
---|
1 | #!/usr/bin/make
|
---|
2 | # $Id: makefile,v 1.7 2007/08/30 14:57:34 stuerze Exp $
|
---|
3 |
|
---|
4 | ifdef windir
|
---|
5 | CC = gcc
|
---|
6 | OPTS = -Wall -W -O3 -DWINDOWSVERSION
|
---|
7 | LIBS = -lwsock32
|
---|
8 | else
|
---|
9 | OPTS = -Wall -W -O3
|
---|
10 | endif
|
---|
11 |
|
---|
12 | ntripserver: ntripserver.c
|
---|
13 | $(CC) $(OPTS) $? -DNDEBUG -o $@ $(LIBS)
|
---|
14 |
|
---|
15 | debug: ntripserver.c
|
---|
16 | $(CC) $(OPTS) $? -o ntripserver $(LIBS)
|
---|
17 |
|
---|
18 | clean:
|
---|
19 | $(RM) -f ntripserver core
|
---|
20 |
|
---|
21 | archive:
|
---|
22 | tar -cvzf ntripserver.tgz makefile ntripserver.c README startntripserver.sh
|
---|
Note:
See
TracBrowser
for help on using the repository browser.