summaryrefslogtreecommitdiffstats
path: root/utils/MTP/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/MTP/Makefile')
-rw-r--r--utils/MTP/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/MTP/Makefile b/utils/MTP/Makefile
index 9cbacd85d6..6c709ec152 100644
--- a/utils/MTP/Makefile
+++ b/utils/MTP/Makefile
@@ -5,7 +5,7 @@ OUTPUT = sendfirm
all: $(OUTPUT)
$(OUTPUT): sendfirm.c
- gcc $(CFLAGS) $(LIBS) -o $(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