blob: 5ee843c3fc3116407d426ecc6b7f78ea91b642d5 [file] [log] [blame]
Talustus3019a912013-04-06 11:50:07 +02001# NDK
2CC := arm-linux-androideabi-gcc
3CFLAGS += -g -static -DANDROID
4LDFLAGS += -lpng -lz -lm
5
6ALL: fb2png adb_screenshoot
7
8fb2png: main.o fb.o img_process.o fb2png.o
9 $(CC) $(CFLAGS) main.o fb.o img_process.o fb2png.o -o fb2png $(LDFLAGS)
10 # $(CC) $(CFLAGS) main.o fb.o img_process.o fb2png.o -o fb2png
11
12adb_screenshoot: adb_screenshoot.o fb.o img_process.o
13 $(CC) $(CFLAGS) adb_screenshoot.o fb.o img_process.o -o adb_screenshoot $(LDFLAGS)
14
15clean:
16 rm -f *.o
17 rm -f fb2png adb_screenshoot