Fix bug in new makefile
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user