move sboot to the root directory
[open-ath9k-htc-firmware.git] / sboot / utility / athfw2lnx / Makefile
diff --git a/sboot/utility/athfw2lnx/Makefile b/sboot/utility/athfw2lnx/Makefile
new file mode 100644 (file)
index 0000000..f13c296
--- /dev/null
@@ -0,0 +1,11 @@
+all: athfw2lnx
+
+ifeq ($(ATH_FW),)
+$(error "ERROR: usage: make ATH_FW=fw.c")
+endif
+
+athfw2lnx: athfw2lnx.c $(ATH_FW)
+       gcc -o $@ athfw2lnx.c $(ATH_FW)
+
+clean:
+       rm -f athfw2lnx