From caf2803f6df9461f46ab5ab1ab9329c4edef075d Mon Sep 17 00:00:00 2001 From: jyelon Date: Thu, 9 Dec 2021 15:10:08 -0500 Subject: [PATCH] Fix bug in new makefile --- luprex/core/Makefile | 3 ++- luprex/core/inc/.gitkeep | 0 2 files changed, 2 insertions(+), 1 deletion(-) delete mode 100644 luprex/core/inc/.gitkeep diff --git a/luprex/core/Makefile b/luprex/core/Makefile index c8c082de..aa226158 100644 --- a/luprex/core/Makefile +++ b/luprex/core/Makefile @@ -23,6 +23,7 @@ else DRIVER=driver-xxx endif + LUA_OBJ_FILES=\ lobj/lapi.o \ lobj/lcode.o \ @@ -98,7 +99,7 @@ lobj/%.o: ../eris-master/src/%.c gcc -Wall $(OPT) -DLUA_USE_APICHECK $(LUAFLAGS) -c -MMD $< -o $@ obj/%.o: cpp/%.cpp - g++ -std=c++17 -Wall $(OPT) -Iinc -Icpp -c -MMD $< -o $@ + g++ -std=c++17 -Wall $(OPT) -I../eris-master/src -Icpp -c -MMD $< -o $@ $(EXE): $(CORE_OBJ_FILES) $(LUA_OBJ_FILES) diff --git a/luprex/core/inc/.gitkeep b/luprex/core/inc/.gitkeep deleted file mode 100644 index e69de29b..00000000