Fix dependency on gc_cpp source in BCC_MAKEFILE and NT_MAKEFILE
authorIvan Maidanski <ivmai@mail.ru>
Mon, 18 Jun 2018 21:30:33 +0000 (00:30 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 18 Jun 2018 21:30:33 +0000 (00:30 +0300)
* BCC_MAKEFILE (gc_cpp.obj): Add dependency on gc_cpp.cc.
* NT_MAKEFILE (gc_cpp.obj): Likewise.
* BCC_MAKEFILE (clean): Delete cord\*.tds.

BCC_MAKEFILE
NT_MAKEFILE

index bebde20..10ac184 100644 (file)
@@ -63,7 +63,7 @@ cord\de.exe: cord\cordbscs.obj cord\cordxtra.obj cord\tests\de.obj \
 |\r
        $(rc) cord\tests\de_win.res cord\de.exe\r
 \r
-gc_cpp.obj: include\gc_cpp.h include\gc.h\r
+gc_cpp.obj: gc_cpp.cc include\gc_cpp.h include\gc.h\r
 \r
 test_cpp.cpp: tests\test_cpp.cc\r
        copy tests\test_cpp.cc test_cpp.cpp\r
@@ -75,4 +75,5 @@ test_cpp.exe: test_cpp.obj include\gc_cpp.h include\gc.h gc.lib
 \r
 clean:\r
        -del *.obj *.res *.exe *.csm cord\*.obj cord\*.res cord\*.exe cord\*.csm\r
+       -del cord\*.tds cord\tests\*.obj cord\tests\*.res\r
        -del *.log *.tds gc.lib tests\test.obj "gc.#0*"\r
index 5c5a538..4cfa219 100644 (file)
@@ -88,7 +88,7 @@ cord\tests\de_win.res: cord\tests\de_win.rc cord\tests\de_win.h cord\tests\de_cm
 cord\de.exe: cord\cordbscs.obj cord\cordxtra.obj cord\tests\de.obj cord\tests\de_win.obj cord\tests\de_win.rbj $(GC_LIB)
        $(link) /MACHINE:$(CPU) $(ldebug) $(guiflags) -out:cord\de.exe cord\cordbscs.obj cord\cordxtra.obj cord\tests\de.obj cord\tests\de_win.obj cord\tests\de_win.rbj $(GC_LIB) $(guilibs)
 
-gc_cpp.obj: include\gc_cpp.h include\gc.h
+gc_cpp.obj: gc_cpp.cc include\gc_cpp.h include\gc.h
 
 test_cpp.cpp: tests\test_cpp.cc
        copy tests\test_cpp.cc test_cpp.cpp