Makefile.mingw: listdevices-*.exe => upnp-listdevices-*.exe
Commit ed16f24
was incomplete.
fixes #685
This commit is contained in:
parent
f22a96b469
commit
fc9d39b012
|
@ -1,7 +1,7 @@
|
||||||
# $Id: Makefile.mingw,v 1.21 2015/09/18 12:45:16 nanard Exp $
|
# $Id: Makefile.mingw,v 1.36 2024/01/04 01:29:56 nanard Exp $
|
||||||
# Miniupnp project.
|
# Miniupnp project.
|
||||||
# http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
|
# http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
|
||||||
# (c) 2005-2020 Thomas Bernard
|
# (c) 2005-2024 Thomas Bernard
|
||||||
# This Makefile is made for MinGW
|
# This Makefile is made for MinGW
|
||||||
#
|
#
|
||||||
# To cross compile on a *nix machine :
|
# To cross compile on a *nix machine :
|
||||||
|
@ -41,7 +41,7 @@ OBJS=miniwget.o minixml.o igd_desc_parse.o minisoap.o \
|
||||||
upnpdev.o addr_is_reserved.o
|
upnpdev.o addr_is_reserved.o
|
||||||
OBJSDLL=$(addprefix dll-, $(OBJS)) winres.o
|
OBJSDLL=$(addprefix dll-, $(OBJS)) winres.o
|
||||||
BINARIES=upnpc-static.exe upnpc-shared.exe \
|
BINARIES=upnpc-static.exe upnpc-shared.exe \
|
||||||
listdevices-static.exe listdevices-shared.exe \
|
upnp-listdevices-static.exe upnp-listdevices-shared.exe \
|
||||||
miniupnpc.dll libminiupnpc.a \
|
miniupnpc.dll libminiupnpc.a \
|
||||||
testminixml.exe
|
testminixml.exe
|
||||||
ifneq ($(GITHUB_SHA),)
|
ifneq ($(GITHUB_SHA),)
|
||||||
|
@ -113,6 +113,12 @@ dll-%.o: $(SRCDIR)/%.c
|
||||||
%-shared.exe: %-shared.o miniupnpc.lib
|
%-shared.exe: %-shared.o miniupnpc.lib
|
||||||
$(CC) -o $@ $^ $(LDLIBS)
|
$(CC) -o $@ $^ $(LDLIBS)
|
||||||
|
|
||||||
|
upnp-listdevices-static.exe: listdevices.o libminiupnpc.a
|
||||||
|
$(CC) -static -o $@ $^ $(LDLIBS)
|
||||||
|
|
||||||
|
upnp-listdevices-shared.exe: listdevices-shared.o miniupnpc.lib
|
||||||
|
$(CC) -o $@ $^ $(LDLIBS)
|
||||||
|
|
||||||
# To make miniupnpcstrings.h from miniupnpcstrings.h.in we either
|
# To make miniupnpcstrings.h from miniupnpcstrings.h.in we either
|
||||||
# use a custom executable (if running make under windows) or use
|
# use a custom executable (if running make under windows) or use
|
||||||
# sed (if cross compiling from another platform).
|
# sed (if cross compiling from another platform).
|
||||||
|
|
Loading…
Reference in New Issue