blob: ad1cd8cb5e7d21393f394aff3602499dd073d33a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
ARCH=@ARCH@
OBJS += hdhomerun_pkt.o
OBJS += hdhomerun_debug.o
OBJS += hdhomerun_discover.o
OBJS += hdhomerun_channels.o
OBJS += hdhomerun_channelscan.o
OBJS += hdhomerun_control.o
OBJS += hdhomerun_video.o
OBJS += hdhomerun_device.o
CFLAGS += -Wall -O2 -D__MINGW__ -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
CC=gcc
SLIBS += -lws2_32 -liphlpapi
SYSDIR=../../../system
DLL=hdhomerun.dll
SLIB=$(SYSDIR)/$(DLL)
hdhomerun_dll : $(OBJS)
gcc $(OBJS) $(SLIBS) -Wl,--out-implib,hdhomerun.lib -shared -o $(SLIB)
clean :
rm $(OBJS)
rm hdhomerun.lib
|