diff --git a/Makefile b/Makefile index 5a9d3b7..2564a9c 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,7 @@ else LIB_CFLAGS += -fPIC LIB_LFLAGS = -shared -o endif -LIB_CPP = $(shell find $(SRC) -name '*.cpp' -not -path "$(SRCPARSER)/*") $(PARSER_CPP) +LIB_CPP = $(sort $(shell find $(SRC) -name '*.cpp' -not -path "$(SRCPARSER)/*") $(PARSER_CPP)) LIB_H = $(shell find $(SRC) -name '*.h' -not -path "$(SRCPARSER)/*") $(PARSER_H) LIB_ALL = $(shell find $(SRC) -name '*.cpp' -not -path "$(SRCPARSER)/*") $(shell find $(SRC) -name '*.h' -not -path "$(SRCPARSER)/*") LIB_OBJ = $(LIB_CPP:%.cpp=%.o)