Fix link order of mkzenboot and usb_benchmark to make them compile with gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

Change-Id: I433a36074cacc4b0a97f88af5fe26d0084c1fc25
This commit is contained in:
Bertrik Sikken 2012-06-19 20:12:51 +02:00
parent 1ccc6587df
commit eb652b054e

View file

@ -54,7 +54,7 @@ mkzenboot.o: mkzenboot.c
$(SILENT)$(CC) $(CFLAGS) -DSTANDALONE -c -o $@ $+ $(SILENT)$(CC) $(CFLAGS) -DSTANDALONE -c -o $@ $+
mkzenboot: mkzenboot.o hmac-sha1.o mkzenboot: mkzenboot.o hmac-sha1.o
$(SILENT)$(CC) $(LDFLAGS) -lz $+ -o $@ $(SILENT)$(CC) $(LDFLAGS) $+ -lz -o $@
mkzenboot.exe: mkzenboot.o hmac-sha1.o mkzenboot.exe: mkzenboot.o hmac-sha1.o
$(SILENT)$(CC) $(LDFLAGS) -lz $+ C:\MingW\lib\libz.a -o $@ $(SILENT)$(CC) $(LDFLAGS) -lz $+ C:\MingW\lib\libz.a -o $@
@ -95,7 +95,7 @@ voicefont: voicefont.c
$(SILENT)$(CC) $(CFLAGS) $+ -o $@ $(SILENT)$(CC) $(CFLAGS) $+ -o $@
usb_benchmark: usb_benchmark.c usb_benchmark: usb_benchmark.c
$(SILENT)$(CC) $(CFLAGS) -lusb $+ -o $@ $(SILENT)$(CC) $(CFLAGS) $+ -lusb -o $@
convttf: convttf.c convttf: convttf.c
$(call PRINTS,CC $(@F)) $(call PRINTS,CC $(@F))