]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/stc/makefile.vc
moved drawing to isvisible branch only
[wxWidgets.git] / contrib / samples / stc / makefile.vc
index 16dca9b2612672437773aedd6d394ccfb1be4308..17c8866593c334d4007168d0a52f518557f0e847 100644 (file)
@@ -24,7 +24,9 @@ STCTEST_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS_7)$(__DEBUGRUNTIME_3) \
        /I.\..\..\include $(CXXFLAGS) /GR /GX
 STCTEST_OBJECTS =  \
        $(OBJS)\stctest_sample.res \
-       $(OBJS)\stctest_stctest.obj
+       $(OBJS)\stctest_stctest.obj \
+       $(OBJS)\stctest_edit.obj \
+       $(OBJS)\stctest_prefs.obj
 
 ### Conditionally set variables: ###
 
@@ -227,7 +229,13 @@ $(OBJS):
 
 ### Targets: ###
 
-all: $(OBJS)\stctest.exe data
+all: $(OBJS)\stctest.exe
+
+$(OBJS)\stctest_edit.obj: .\edit.cpp
+       $(CXX) /c /nologo /TP /Fo$@ $(STCTEST_CXXFLAGS) $**
+
+$(OBJS)\stctest_prefs.obj: .\prefs.cpp
+       $(CXX) /c /nologo /TP /Fo$@ $(STCTEST_CXXFLAGS) $**
 
 $(OBJS)\stctest_sample.res: .\..\..\..\samples\sample.rc
        rc /fo$@  /d WIN32 $(____DEBUGRUNTIME_2_p_1) $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) /i .\..\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\..\samples $**
@@ -242,10 +250,6 @@ clean:
        -if exist $(OBJS)\stctest.ilk del $(OBJS)\stctest.ilk
        -if exist $(OBJS)\stctest.pdb del $(OBJS)\stctest.pdb
 
-data: 
-       if not exist $(OBJS) mkdir $(OBJS)
-       for %f in (stctest.cpp) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
-
 $(OBJS)\stctest.exe: $(STCTEST_OBJECTS) $(OBJS)\stctest_sample.res
        link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1)  /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
        $(STCTEST_OBJECTS)  wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_stc.lib  $(__WXLIB_CORE_p)  $(__WXLIB_BASE_p)  $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib  wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib  $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib