]> git.sesse.net Git - vlc/blobdiff - extras/contrib/src/Makefile
Build peflags in the contribs
[vlc] / extras / contrib / src / Makefile
index 5a8baeb4c15a9faf9b42f70283af57032c853041..54b8a0f4315839f4c8c2503b3b47449013de6b3f 100644 (file)
@@ -2574,7 +2574,20 @@ xcb-util: xcb-util-$(XCB_UTIL_VERSION).tar.bz2
        cd $< && make install
        touch $@
 
+# ***************************************************************************
+# Peflags utility (Windows only)
+# ***************************************************************************
+
+peflags.c:
+       $(WGET) $(PEFLAGS_URL)/$@
 
+.peflags: peflags.c
+       rm -rf peflags
+       mkdir peflags && mv peflags.c peflags/
+       cd peflags && gcc peflags.c -o peflags
+       install -d $(PREFIX)/bin
+       cd peflags && install ./peflags $(PREFIX)/bin
+CLEAN_PKG +=peflags
 # ***************************************************************************
 # Some cleaning
 # ***************************************************************************