Make build reproducible. Thanks to Reiner Herrmann for providing patch. (#111)
authorLev Lamberov <l.lamberov@gmail.com>
Thu, 3 Nov 2016 07:29:53 +0000 (12:29 +0500)
committerMichael Göhler <github@nixhub.de>
Thu, 3 Nov 2016 07:29:53 +0000 (08:29 +0100)
Makefile

index 15fd54c..564466f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@
 
 UNAME_S := $(shell uname -s 2>/dev/null || echo not)
 
-SOURCES = $(wildcard src/*.c)
+SOURCES = $(sort $(wildcard src/*.c))
 OBJECTS = $(SOURCES:.c=.o)
 TARGET  = mdp
 DESTDIR =