Last change
on this file since 1233 was 653, checked in by stuerze, 17 years ago |
lines for windows compatibility added
|
File size:
436 bytes
|
Rev | Line | |
---|
[486] | 1 | #!/usr/bin/make
|
---|
[653] | 2 | # $Id: makefile,v 1.7 2007/08/30 14:57:34 stuerze Exp $
|
---|
[466] | 3 |
|
---|
[653] | 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 |
|
---|
[486] | 12 | ntripserver: ntripserver.c
|
---|
[653] | 13 | $(CC) $(OPTS) $? -DNDEBUG -o $@ $(LIBS)
|
---|
[466] | 14 |
|
---|
[486] | 15 | debug: ntripserver.c
|
---|
[653] | 16 | $(CC) $(OPTS) $? -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.