Commit d7c97c82 authored by Christophe Mutricy's avatar Christophe Mutricy

Improve the peflags target

parent 756fd1fe
......@@ -2581,12 +2581,11 @@ xcb-util: xcb-util-$(XCB_UTIL_VERSION).tar.bz2
# Peflags utility (Windows only)
# ***************************************************************************
peflags.c:
$(WGET) $(PEFLAGS_URL)/$@
peflags/peflags.c:
mkdir -p peflags
cd peflags && $(WGET) $(PEFLAGS_URL)/peflags.c
.peflags: peflags.c
rm -rf peflags
mkdir peflags && mv peflags.c peflags/
.peflags: peflags/peflags.c
cd peflags && gcc peflags.c -o peflags
install -d $(PREFIX)/bin
cd peflags && install ./peflags $(PREFIX)/bin
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment