Closed Sicness closed 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.
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.