X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/604898dc4a7ca4814df2c0c0876f6a67044e939e..09ddabf738ef243dc0f4965f69115eeb03a6dce2:/samples/image/makefile.gcc diff --git a/samples/image/makefile.gcc b/samples/image/makefile.gcc index 320aed34b2..fe7d184529 100644 --- a/samples/image/makefile.gcc +++ b/samples/image/makefile.gcc @@ -29,6 +29,7 @@ IMAGE_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(__THREADSFLAG) \ $(__EXCEPTIONSFLAG_6) -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS) IMAGE_OBJECTS = \ $(OBJS)\image_image.o \ + $(OBJS)\image_canvas.o \ $(OBJS)\image_image_rc.o ### Conditionally set variables: ### @@ -233,6 +234,9 @@ data: $(OBJS)\image_image.o: ./image.cpp $(CXX) -c -o $@ $(IMAGE_CXXFLAGS) $(CPPDEPS) $< +$(OBJS)\image_canvas.o: ./canvas.cpp + $(CXX) -c -o $@ $(IMAGE_CXXFLAGS) $(CPPDEPS) $< + $(OBJS)\image_image_rc.o: ./image.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