MTP: put libs after files in the Makefile, to please old gcc versions

Change-Id: I6de6771bd8888e40fb9dafa3c84653c8c680bbef
This commit is contained in:
Amaury Pouly 2014-12-13 12:58:08 +01:00
parent b320bbaf61
commit 0389fd0982

View file

@ -8,7 +8,7 @@ EXTRA_CFLAGS = $(shell printf \
all: $(OUTPUT) all: $(OUTPUT)
$(OUTPUT): sendfirm.c $(OUTPUT): sendfirm.c
gcc $(EXTRA_CFLAGS) $(CFLAGS) $(LIBS) -o $(OUTPUT) sendfirm.c gcc $(EXTRA_CFLAGS) $(CFLAGS) -o $(OUTPUT) sendfirm.c $(LIBS)
$(OUTPUT).exe: sendfirm_win.c $(OUTPUT).exe: sendfirm_win.c
mingw32-gcc $(CFLAGS) -o $(OUTPUT).exe sendfirm_win.c MTP_DLL.dll mingw32-gcc $(CFLAGS) -o $(OUTPUT).exe sendfirm_win.c MTP_DLL.dll