build listdevices.exe with mingw32
This commit is contained in:
parent
5a284d6b21
commit
02e64e9f85
|
@ -18,7 +18,8 @@ OBJS=miniwget.o minixml.o igd_desc_parse.o minisoap.o \
|
|||
upnpdev.o
|
||||
OBJSDLL=$(addprefix dll/, $(OBJS))
|
||||
|
||||
all: init upnpc-static upnpc-shared testminixml libminiupnpc.a miniupnpc.dll
|
||||
all: init upnpc-static upnpc-shared testminixml libminiupnpc.a \
|
||||
miniupnpc.dll listdevices
|
||||
|
||||
init:
|
||||
mkdir dll
|
||||
|
@ -66,6 +67,9 @@ upnpc-static: upnpc.o libminiupnpc.a
|
|||
upnpc-shared: dll/upnpc.o miniupnpc.lib
|
||||
$(CC) -o $@ $^ $(LDLIBS)
|
||||
|
||||
listdevices: listdevices.o libminiupnpc.a
|
||||
$(CC) -o $@ $^ $(LDLIBS)
|
||||
|
||||
wingenminiupnpcstrings: wingenminiupnpcstrings.o
|
||||
|
||||
wingenminiupnpcstrings.o: wingenminiupnpcstrings.c
|
||||
|
|
Loading…
Reference in New Issue