From 7c8234d65a0e6940b3a50a350d958723aae699b7 Mon Sep 17 00:00:00 2001 From: crc Date: Wed, 8 Nov 2017 11:45:57 +0000 Subject: [PATCH] reorder linker flags to better support gcc FossilOrigin-Name: a513b7f1ed731b676830cac35a396de778474fee7dd64103d783b9c18f849c1b --- interfaces/Makefile | 4 ++-- tools/Makefile | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/interfaces/Makefile b/interfaces/Makefile index 8c57400..162c5b7 100644 --- a/interfaces/Makefile +++ b/interfaces/Makefile @@ -8,8 +8,8 @@ objects: $(CC) $(OPTS) -c repl.c -o repl.o link: - $(CC) $(LIBS) rre.o -o rre - $(CC) $(LIBS) repl.o -o repl + $(CC) rre.o $(LIBS) -o rre + $(CC) repl.o $(LIBS) -o repl finish: mv rre ../bin diff --git a/tools/Makefile b/tools/Makefile index 08a464e..ebf1993 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -10,10 +10,10 @@ objects: $(CC) $(OPTS) -c muri.c -o muri.o link: - $(CC) $(LIBS) unu.o -o unu - $(CC) $(LIBS) muri.o -o muri - $(CC) $(LIBS) embedimage.o -o embedimage - $(CC) $(LIBS) extend.o -o extend + $(CC) unu.o $(LIBS) -o unu + $(CC) muri.o $(LIBS) -o muri + $(CC) embedimage.o $(LIBS) -o embedimage + $(CC) extend.o $(LIBS) -o extend finish: mv embedimage ../bin