1234567891011121314151617181920212223 |
- #!/usr/bin/make
- # $Id: makefile,v 1.9 2009/02/10 12:20:09 stoecker Exp $
- ifdef windir
- CC = gcc
- OPTS = -Wall -W -DWINDOWSVERSION
- LIBS = -lwsock32
- else
- OPTS = -Wall -W
- endif
- ntripserver: ntripserver.c
- $(CC) $(OPTS) $? -O3 -DNDEBUG -o $@ $(LIBS)
- debug: ntripserver.c
- $(CC) $(OPTS) $? -g -o ntripserver $(LIBS)
- clean:
- $(RM) -f ntripserver core
- archive:
- tar -cvzf ntripserver.tgz makefile ntripserver.c README startntripserver.sh
|