From: Antonio Ospite Date: Thu, 13 Oct 2011 21:35:10 +0000 (+0200) Subject: kinect_upload_fw: fix generating endian.h before compiling kinect_upload_fw X-Git-Tag: v0.2~12 X-Git-Url: https://git.ao2.it/kinect-audio-setup.git/commitdiff_plain/061cb6698d0c1d1685be6451393b5530cc1f7f43?hp=bb49f29ff2b3beb4e773a3705131d7fc72724870 kinect_upload_fw: fix generating endian.h before compiling kinect_upload_fw 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. --- diff --git a/kinect_upload_fw/Makefile b/kinect_upload_fw/Makefile index 244b098..22074c9 100644 --- a/kinect_upload_fw/Makefile +++ b/kinect_upload_fw/Makefile @@ -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