X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fe6b1b853aaa900356d12f69e8e3d84467221f4c..cfcc02a8a4f019e3846b73660209080602e44967:/utils/screenshotgen/src/makefile.gcc diff --git a/utils/screenshotgen/src/makefile.gcc b/utils/screenshotgen/src/makefile.gcc index c1f0cd3dcd..7826d30794 100644 --- a/utils/screenshotgen/src/makefile.gcc +++ b/utils/screenshotgen/src/makefile.gcc @@ -241,7 +241,7 @@ $(OBJS): ### Targets: ### -all: $(OBJS)\screenshotgen.exe data +all: $(OBJS)\screenshotgen.exe bitmaps xml clean: -if exist $(OBJS)\*.o del $(OBJS)\*.o @@ -251,9 +251,13 @@ clean: $(OBJS)\screenshotgen.exe: $(SCREENSHOTGEN_OBJECTS) $(OBJS)\screenshotgen_screenshotgen_rc.o $(CXX) -o $@ $(SCREENSHOTGEN_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows $(LDFLAGS) $(__WXLIB_AUI_p) $(__WXLIB_ADV_p) $(__WXLIB_RICHTEXT_p) $(__WXLIB_HTML_p) $(__WXLIB_XML_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -data: +bitmaps: + if not exist $(OBJS)\bitmaps mkdir $(OBJS)\bitmaps + for %%f in (wxwin32x32.png bell.png sound.png dropbuth.png dropbutn.png dropbutp.png throbber.gif) do if not exist $(OBJS)\bitmaps\%%f copy .\bitmaps\%%f $(OBJS)\bitmaps + +xml: if not exist $(OBJS) mkdir $(OBJS) - for %%f in (richtext.xml bitmaps\wxwin32x32.png bitmaps\bell.png bitmaps\sound.png bitmaps\dropbuth.png bitmaps\dropbutn.png bitmaps\dropbutp.png bitmaps\throbber.gif) do if not exist $(OBJS)\%%f copy .\%%f $(OBJS) + for %%f in (richtext.xml) do if not exist $(OBJS)\%%f copy .\%%f $(OBJS) $(OBJS)\screenshotgen_screenshot_app.o: ./screenshot_app.cpp $(CXX) -c -o $@ $(SCREENSHOTGEN_CXXFLAGS) $(CPPDEPS) $< @@ -276,7 +280,7 @@ $(OBJS)\screenshotgen_autocapture.o: ./autocapture.cpp $(OBJS)\screenshotgen_screenshotgen_rc.o: ./screenshotgen.rc windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) $(__GFXCTX_DEFINE_p_1) --include-dir $(SETUPHDIR) --include-dir ./../../../include --include-dir . $(__DLLFLAG_p_1) --include-dir ./../../../samples --define NOPCH -.PHONY: all clean data +.PHONY: all clean bitmaps xml SHELL := $(COMSPEC)