| Rev | Line |   | 
|---|
| [2382] | 1 | # $Id: makefile,v 1.8 2010/03/24 13:17:06 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 | 
 | 
|---|
| [834] | 13 | ntripclient: ntripclient.c serial.c
 | 
|---|
 | 14 |         $(CC) $(OPTS) ntripclient.c -o $@ $(LIBS)
 | 
|---|
| [466] | 15 | 
 | 
|---|
| [499] | 16 | clean:
 | 
|---|
| [595] | 17 |         $(RM) ntripclient core*
 | 
|---|
| [499] | 18 | 
 | 
|---|
 | 19 | 
 | 
|---|
| [466] | 20 | archive:
 | 
|---|
| [2382] | 21 |         zip -9 ntripclient.zip ntripclient.c makefile README serial.c
 | 
|---|
| [611] | 22 | 
 | 
|---|
| [2381] | 23 | tgzarchive:
 | 
|---|
 | 24 |         tar -czf ntripclient.tgz ntripclient.c makefile README serial.c
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.