File: Makefile

package info (click to toggle)
getstream 20070419-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 308 kB
  • ctags: 658
  • sloc: ansic: 4,137; makefile: 58
file content (19 lines) | stat: -rw-r--r-- 470 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
CC=gcc
CFLAGS=-O0 -g -Wall -I/usr/include/glib-2.0/ -I/usr/lib/glib-2.0/include/
LDFLAGS=-levent -lglib-2.0 -lpthread
OBJ=getstream.o fe.o crc32.o \
	sap.o stream.o demux.o stream_udp.o \
	stream_rtp.o stream_http.o stream_pipe.o \
	libhttp.o libconf.o config.o util.o csa.o logging.o

getstream: $(OBJ)
	gcc $(LDFLAGS) -o $@ $+

simplecheck: simplecheck.c
	gcc -o $@ $+

clean:
	-rm -f $(OBJ) getstream core vgcore.pid* core.*

distclean: clean
	-rm -rf CVS .cvsignore