Generate endian.h before compiling kinect_upload_fw, this is how it
should have been done from the start.
Until now the system-wide endian.h was being picked up instead, making
the whole compile-time-endian-detection mechanism useless; now we are
actually using it.
rm -f endian.h
./endian > endian.h
rm -f endian.h
./endian > endian.h
-kinect_upload_fw: endian.h kinect_upload_fw.o
+kinect_upload_fw.o: endian.h
+
+kinect_upload_fw: kinect_upload_fw.o
install: kinect_upload_fw
install: kinect_upload_fw