mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-10 00:45:13 +00:00
Delete qbx.o before every compile
This helps when compiling several files in a row very quickly, Mac OS only has a one second accuracy on the file modification time which can cause Make to not notice a file has been modified. With the changes to avoid startup delays it's possible to have compiles happen that quickly in succession now.
This commit is contained in:
parent
f082889c1f
commit
4a2808905c
|
@ -12582,6 +12582,15 @@ FOR x = 1 TO ResolveStaticFunctions
|
|||
END IF
|
||||
NEXT x
|
||||
|
||||
' Delete existing qbx.o file, it ensures that it always gets rebuilt
|
||||
ON ERROR GOTO qberror_test
|
||||
IF tempfolderindex > 1 THEN
|
||||
KILL "internal/c/qbx" + str2$(tempfolderindex) + ".o"
|
||||
ELSE
|
||||
KILL "internal/c/qbx.o"
|
||||
END IF
|
||||
ON ERROR GOTO qberror
|
||||
|
||||
IF os$ = "WIN" THEN
|
||||
|
||||
makeline$ = makeline$ + " OS=win"
|
||||
|
|
Loading…
Reference in a new issue