blob: 5ee843c3fc3116407d426ecc6b7f78ea91b642d5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
|