--- q_a/samples/readwrit/makefile 2018/08/09 18:29:31 1.1.1.2 +++ q_a/samples/readwrit/makefile 2018/08/09 18:29:55 1.1.1.3 @@ -16,8 +16,7 @@ DataBase.obj: DataBase.c # Update the import library DataBase.lib: DataBase.obj DataBase.def - $(cvtobj) $(cvtdebug) database.obj - coff -lib -machine:$(CPU) \ + $(implib) -machine:$(CPU) \ -def:DataBase.def DataBase.obj \ -out:DataBase.lib @@ -27,8 +26,7 @@ DataBase.dll: DataBase.obj DataBase.def $(link) $(linkdebug) \ -base:0x1C000000 \ -dll \ -# -entry:DLLInitExitPoint@12\ - -entry:DLLInitExitPoint$(DLLENTRY)\ + -entry:_DllMainCRTStartup$(DLLENTRY)\ -out:DataBase.dll \ DataBase.exp DataBase.obj $(conlibsdll) @@ -37,5 +35,4 @@ DataBase.dll: DataBase.obj DataBase.def # If so, add the resource back in. ReadWrit.exe: ReadWrit.obj DataBase.lib - $(cvtobj) $(cvtdebug) ReadWrit.obj $(link) $(linkdebug) $(conflags) -out:ReadWrit.exe ReadWrit.obj DataBase.lib $(conlibs)