makefile 555 B

12345678910111213141516171819202122232425
  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. ifdef windir
  5. CC = gcc
  6. OPTS = -Wall -W -O3 -DWINDOWSVERSION
  7. LIBS = -lwsock32
  8. else
  9. OPTS = -Wall -W -O3
  10. endif
  11. ntripclient: ntripclient.c serial.c
  12. $(CC) $(OPTS) ntripclient.c -o $@ $(LIBS)
  13. clean:
  14. $(RM) ntripclient core*
  15. archive:
  16. zip -9 ntripclient.zip ntripclient.c makefile README serial.c
  17. tgzarchive:
  18. tar -czf ntripclient.tgz ntripclient.c makefile README serial.c