Fix bug in new makefile

This commit is contained in:
2021-12-09 15:10:08 -05:00
parent 3b0e52ae86
commit caf2803f6d
2 changed files with 2 additions and 1 deletions

View File

@@ -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)