move sboot to the root directory
[open-ath9k-htc-firmware.git] / sboot / utility / bin2hex / Makefile
diff --git a/sboot/utility/bin2hex/Makefile b/sboot/utility/bin2hex/Makefile
new file mode 100755 (executable)
index 0000000..6a33d4e
--- /dev/null
@@ -0,0 +1,13 @@
+TARGET = ../bin/bin2hex                # for Linux environment
+TARGET_DIR = ../bin
+E=echo
+
+all: $(TARGET)
+
+$(TARGET):
+       @mkdir -p $(TARGET_DIR)
+       gcc -o $(TARGET) bin2hex.c
+       @$(E) "  CC " $@
+
+clean:
+       -rm $(TARGET)