Description: Compilation order
 Sort c files for compilation, to make the build reproducible.
Author: Alexis Bienvenüe <pado@passoire.fr>

--- sim4-0.0.20121010.orig/Makefile
+++ sim4-0.0.20121010/Makefile
@@ -8,6 +8,6 @@ CFLAGS+=-g -O2 -Wall
 LDLIBS=-lm
  
 sim4:
-	$(CC) -o sim4 -I. $(CFLAGS) *.c $(LDLIBS) $(LDFLAGS)
+	$(CC) -o sim4 -I. $(CFLAGS) `LC_ALL=C ls *.c` $(LDLIBS) $(LDFLAGS)
 clean:
 	rm -f sim4 *.o
