summaryrefslogtreecommitdiffstats
path: root/fb2png/Makefile
diff options
context:
space:
mode:
authorTalustus <talustus@dream-irc.de>2013-04-06 11:50:07 +0200
committerDees_Troy <dees_troy@teamw.in>2013-07-01 22:22:17 +0200
commit3019a9172b36b9e2033d92dccdb8ff8e2282da7c (patch)
tree3938a34520ea3b6c3519efb93cbeadce64018e84 /fb2png/Makefile
parentFix some issues with wipe partition list (diff)
downloadandroid_bootable_recovery-3019a9172b36b9e2033d92dccdb8ff8e2282da7c.tar
android_bootable_recovery-3019a9172b36b9e2033d92dccdb8ff8e2282da7c.tar.gz
android_bootable_recovery-3019a9172b36b9e2033d92dccdb8ff8e2282da7c.tar.bz2
android_bootable_recovery-3019a9172b36b9e2033d92dccdb8ff8e2282da7c.tar.lz
android_bootable_recovery-3019a9172b36b9e2033d92dccdb8ff8e2282da7c.tar.xz
android_bootable_recovery-3019a9172b36b9e2033d92dccdb8ff8e2282da7c.tar.zst
android_bootable_recovery-3019a9172b36b9e2033d92dccdb8ff8e2282da7c.zip
Diffstat (limited to '')
-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