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