Make build reproducible. Thanks to Reiner Herrmann for providing patch. (#111)
[smdp.git] / 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 =