1diff --git a/Makefile b/Makefile
2index 59f2c06..5ee8f6e 100644
3--- a/Makefile
4+++ b/Makefile
5@@ -60,7 +60,7 @@ ESRCS = $(notdir $(wildcard $(SRCDIR)/*.erl))
6 XSRCS = $(notdir $(wildcard $(SRCDIR)/*.xrl))
7 YSRCS = $(notdir $(wildcard $(SRCDIR)/*.yrl))
8 LSRCS = $(notdir $(wildcard $(LSRCDIR)/*.lfe))
9-EBINS = $(ESRCS:.erl=.beam) $(XSRCS:.xrl=.beam) $(YSRCS:.yrl=.beam)
10+EBINS = $(sort $(ESRCS:.erl=.beam) $(XSRCS:.xrl=.beam) $(YSRCS:.yrl=.beam))
11 LBINS = $(LSRCS:.lfe=.beam)
12
13 CSRCS = $(notdir $(wildcard $(CSRCDIR)/*.c))