summaryrefslogtreecommitdiff
path: root/mcast/netcv2dvbip/mingw/Makefile
blob: aa6ac0d368226ffec3b5a1c3cd326d3611fc0fad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
OBJS=main.o parse.o mclilink.o siparser.o crc32.o clist.o stream.o thread.o misc.o streamer.o igmp.o iface.o
EXE=netcv2dvbip.exe
CC:=gcc
CXX=g++
CFLAGS:= -O2 -DCLIENT -DSTATICLIB -Wall -I../../common/win32/include -I../../common -I../../client
LDFLAGS:= -s -L../../common/win32/lib
LDLIBS:= -lmingwex -lmcli -liphlpapi -lpthreadGC2 -lws2_32 -lxml2 -lz

all: $(EXE)

$(EXE): $(OBJS)
	$(CXX) $(LDFLAGS) -o $@ $(OBJS) $(LDLIBS)

%.o: ../%.c
	$(CXX) -c $(CFLAGS) -o $@ $<

clean:
	@-del  $(EXE) *.o *.la *~