summaryrefslogtreecommitdiffstats
path: root/fb2png/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fb2png/Makefile')
-rw-r--r--fb2png/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/fb2png/Makefile b/fb2png/Makefile
new file mode 100644
index 000000000..5ee843c3f
--- /dev/null
+++ b/fb2png/Makefile
@@ -0,0 +1,17 @@
+# NDK
+CC := arm-linux-androideabi-gcc
+CFLAGS += -g -static -DANDROID
+LDFLAGS += -lpng -lz -lm
+
+ALL: fb2png adb_screenshoot
+
+fb2png: main.o fb.o img_process.o fb2png.o
+ $(CC) $(CFLAGS) main.o fb.o img_process.o fb2png.o -o fb2png $(LDFLAGS)
+ # $(CC) $(CFLAGS) main.o fb.o img_process.o fb2png.o -o fb2png
+
+adb_screenshoot: adb_screenshoot.o fb.o img_process.o
+ $(CC) $(CFLAGS) adb_screenshoot.o fb.o img_process.o -o adb_screenshoot $(LDFLAGS)
+
+clean:
+ rm -f *.o
+ rm -f fb2png adb_screenshoot