move sboot to the root directory
[open-ath9k-htc-firmware.git] / sboot / utility / patch_gen / Makefile
diff --git a/sboot/utility/patch_gen/Makefile b/sboot/utility/patch_gen/Makefile
new file mode 100755 (executable)
index 0000000..ed2fda8
--- /dev/null
@@ -0,0 +1,13 @@
+TARGET = ../bin/patch_gen              # for Linux environment
+#TARGET = ../bin/_gen.exe      # for CygWin environment
+
+INC = $(HOME)/project/src/inc
+
+all: $(TARGET)
+
+$(TARGET):
+       gcc -o $(TARGET) -I$(INC) main.c patch.c
+
+
+clean:
+       -rm $(TARGET)