| Rev | Line | |
|---|
| [611] | 1 | # $Id: makefile,v 1.5 2007/12/12 09:45:23 stoecker Exp $
|
|---|
| [466] | 2 | # probably works not with all compilers. Thought this should be easy
|
|---|
| 3 | # fixable. There is nothing special at this source.
|
|---|
| 4 |
|
|---|
| [595] | 5 | ifdef windir
|
|---|
| [611] | 6 | CC = gcc
|
|---|
| 7 | OPTS = -Wall -W -O3 -DWINDOWSVERSION
|
|---|
| 8 | LIBS = -lwsock32
|
|---|
| [595] | 9 | else
|
|---|
| 10 | OPTS = -Wall -W -O3
|
|---|
| 11 | endif
|
|---|
| 12 |
|
|---|
| [484] | 13 | ntripclient: ntripclient.c
|
|---|
| [611] | 14 | $(CC) $(OPTS) $? -o $@ $(LIBS)
|
|---|
| [466] | 15 |
|
|---|
| [499] | 16 | clean:
|
|---|
| [595] | 17 | $(RM) ntripclient core*
|
|---|
| [499] | 18 |
|
|---|
| 19 |
|
|---|
| [466] | 20 | archive:
|
|---|
| [484] | 21 | tar -czf ntripclient.tgz ntripclient.c makefile README startntripclient.sh
|
|---|
| [611] | 22 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.