kinect_upload_fw: fix generating endian.h before compiling kinect_upload_fw
authorAntonio Ospite <ospite@studenti.unina.it>
Thu, 13 Oct 2011 21:35:10 +0000 (23:35 +0200)
committerAntonio Ospite <ospite@studenti.unina.it>
Fri, 14 Oct 2011 07:19:02 +0000 (09:19 +0200)
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.

kinect_upload_fw/Makefile

index 244b098..22074c9 100644 (file)
@@ -48,7 +48,9 @@ endian.h: endian
        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