Skip to content

Commit

Permalink
Merge pull request robertdavidgraham#257 from reinerh/master
Browse files Browse the repository at this point in the history
Sort list of source files for deterministic linking order
  • Loading branch information
robertdavidgraham authored Jun 8, 2017
2 parents 79139a2 + a7c73ac commit e0be8db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ tmp/%.o: src/%.c src/*.h
$(CC) $(CFLAGS) -c $< -o $@


SRC = $(wildcard src/*.c)
SRC = $(sort $(wildcard src/*.c))
OBJ = $(addprefix tmp/, $(notdir $(addsuffix .o, $(basename $(SRC)))))


Expand Down

0 comments on commit e0be8db

Please sign in to comment.