blob: 6c709ec152d0dc70402b70a964a4042c222b3e9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
CFLAGS = -Wall
LIBS = -lmtp
OUTPUT = sendfirm
all: $(OUTPUT)
$(OUTPUT): sendfirm.c
gcc $(CFLAGS) $(LIBS) -o $(OUTPUT) sendfirm.c || gcc $(CFLAGS) $(LIBS) -DOLDMTP -o $(OUTPUT) sendfirm.c
$(OUTPUT).exe: sendfirm_win.c
mingw32-gcc $(CFLAGS) -o $(OUTPUT).exe sendfirm_win.c MTP_DLL.dll
clean:
rm -f $(OUTPUT)
|