diff --git a/luprex/core/Makefile b/luprex/core/Makefile index c728e939..6171b3a2 100644 --- a/luprex/core/Makefile +++ b/luprex/core/Makefile @@ -84,7 +84,7 @@ CORE_OBJ_FILES=\ lobj/%.o: ../eris-master/src/%.c - gcc -Wall -g -DLUA_USE_APICHECK $(LUAFLAGS) -c $< -o $@ + gcc -Wall -g -DLUA_USE_APICHECK $(LUAFLAGS) -c -MMD $< -o $@ obj/%.o: cpp/%.cpp g++ -std=c++17 -Wall -g -Iinc -Icpp -c -MMD $< -o $@