It was all working and then suddenly I started getting the error below that seems related to the makefile which I don't understand and it stopped compiling.
You know that NEVER happens

You know it is always "It was all working and then I DID SOMETHING and I started getting the errors below"
I'm seeing these as troubling...
nbproject/Makefile-default.mk:672: recipe for target 'dist/default/production/OP60_RTOS.X.production.hex' failed
make[2]: Leaving directory 'D:/Dropbox (TDL)/TDL Design/Rational/Firmware_OP60_RTOS/firmware/OP60_RTOS.X'
nbproject/Makefile-default.mk:91: recipe for target '.build-conf' failed
make[1]: Leaving directory 'D:/Dropbox (TDL)/TDL Design/Rational/Firmware_OP60_RTOS/firmware/OP60_RTOS.X'
These two are undefined references which you should be able to find and fix.nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
build/default/production/_ext/1171490990/interrupts_a.o:D:\Dropbox (TDL)\TDL Design\Rational\Firmware_OP60_RTOS\firmware\OP60_RTOS.X/../src/config/default/interrupts_a.S:86: undefined reference to `OUTPUT_COMPARE_3_Handler'
build/default/production/_ext/1171490990/interrupts_a.o:D:\Dropbox (TDL)\TDL Design\Rational\Firmware_OP60_RTOS\firmware\OP60_RTOS.X/../src/config/default/interrupts_a.S:86: undefined reference to `OUTPUT_COMPARE_3_Handler'
This one might be fixed by declaring a heap size. Project Properties -> XC32-ld -> Heap Size - try entering 2048 or more or less.collect2.exe: error: ld returned 255 exit status
By here, you are significantly funckled, but maybe something I have written could help...and might also make it worse.make[2]: *** [dist/default/production/OP60_RTOS.X.production.hex] Error 255
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
At this point, you have no choice but to have this added to your list of many disappointments - my wife keeps a list for me (j/k)
BUILD FAILED (exit value 2, total time: 24s)