]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/stc/makefile.bcc
Compilation fixes.
[wxWidgets.git] / samples / stc / makefile.bcc
index cc351315b073ecb84ba8fcaf4f42129367da3ffd..fedb0ad6d90dc5756f2d5205a716a48fa9874223 100644 (file)
@@ -154,7 +154,7 @@ $(OBJS):
 
 ### Targets: ###
 
-all: $(OBJS)\stctest.exe
+all: $(OBJS)\stctest.exe data
 
 $(OBJS)\stctest_edit.obj: .\edit.cpp
        $(CXX) -q -c -P -o$@ $(STCTEST_CXXFLAGS) $**
@@ -178,6 +178,10 @@ clean:
        -if exist $(OBJS)\stctest.ilf del $(OBJS)\stctest.ilf
        -if exist $(OBJS)\stctest.ils del $(OBJS)\stctest.ils
 
+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
        ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib $(__DEBUGINFO)  -L$(LIBDIRNAME) -aa @&&|
        c0w32.obj $(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) ole2w32.lib oleacc.lib  import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,, $(OBJS)\stctest_sample.res