a-nikolaev / curseofwar

A Real Time Strategy game for Linux.
http://a-nikolaev.github.io/curseofwar/
GNU General Public License v3.0
320 stars 34 forks source link

Old order in Makefile was problematic. #16

Closed Sicness closed 11 years ago

Sicness commented 11 years ago

Makefile:

$(CC) $(CFLAGS) -o $(EXEC) grid.o state.o king.o network.o output.o client.o server.o main.o $(LDFLAGS)

The order is problematic. Better use

$(CC) $(CFLAGS) $(LDFLAGS) grid.o state.o king.o network.o output.o client.o server.o main.o -o $(EXEC)

to avoid a FTBFS with binutils-gold.


Build and execution is tested: all ok.