reorder linker flags to better support gcc

FossilOrigin-Name: a513b7f1ed731b676830cac35a396de778474fee7dd64103d783b9c18f849c1b
This commit is contained in:
crc 2017-11-08 11:45:57 +00:00
parent 27792aa76e
commit 7c8234d65a
2 changed files with 6 additions and 6 deletions

View file

@ -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

View file

@ -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